wok annotate xfdesktop/receipt @ rev 11750

slim: slim starts is ok with xorg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 22 09:11:53 2012 +0100 (2012-02-22)
parents 021bbe74dc30
children 73641efed1cc
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfdesktop"
slaxemulator@10219 4 VERSION="4.8.2"
erjo@2075 5 CATEGORY="x-window"
erjo@4133 6 SHORT_DESC="Xfce Desktop"
erjo@2075 7 MAINTAINER="erjo@slitaz.org"
erjo@2075 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2075 9 WEB_SITE="http://www.xfce.org/"
slaxemulator@8289 10 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2075 11
erjo@9878 12 DEPENDS="libxfce4util libxfcegui4 thunar libexo libglade gamin libnotify"
erjo@9878 13 BUILD_DEPENDS="libxfce4util-dev thunar-dev libexo-dev libxfce4ui-dev libwnck-dev xfconf-dev
erjo@9878 14 libglade-dev gamin-dev hal-dev xfce4-panel-dev libnotify-dev intltool util-linux-ng-uuid-dev"
erjo@9878 15
erjo@2075 16 # Rules to configure and make the package.
erjo@2075 17 compile_rules()
erjo@2075 18 {
erjo@2075 19 cd $src
erjo@2075 20 ./configure --prefix=/usr \
erjo@2075 21 --sysconfdir=/etc \
erjo@2075 22 --enable-exo \
erjo@8028 23 --enable-notifications \
erjo@8028 24 --enable-gio-unix \
erjo@2075 25 --enable-thunarx \
erjo@4133 26 --disable-static \
pascal@4235 27 --libexecdir=/usr/lib/$PACKAGE \
erjo@2075 28 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@9878 29 make && make DESTDIR=$DESTDIR install
erjo@2075 30 }
erjo@2075 31
erjo@2075 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 33 genpkg_rules()
erjo@2075 34 {
pascal@4235 35 mkdir -p $fs/usr/lib \
erjo@2075 36 $fs/usr/share/locale \
erjo@4133 37 $fs/usr/share/xfce4
erjo@4133 38
erjo@2075 39 cp -a $_pkg/usr/bin $fs/usr
erjo@8028 40 #~ cp -a $_pkg/etc $fs/
erjo@8028 41 #~ cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@8028 42 #~ cp -a $_pkg/usr/lib $fs/usr
erjo@2075 43 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2075 44 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@8028 45 #~ cp -a $_pkg/usr/share/desktop-directories $fs/usr/share
erjo@8028 46 #~ cp -a $_pkg/usr/share/xfce4/panel-plugins $fs/usr/share/xfce4
erjo@2075 47
erjo@8028 48 #~ strip -s $fs/usr/lib/$PACKAGE/xfce4/panel-plugins/*
erjo@4133 49
erjo@2075 50 }
erjo@2075 51