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