wok-6.x annotate xfce4-session/receipt @ rev 13762
garcon: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 03 11:21:57 2013 +0100 (2013-01-03) |
parents | 02cacf71bdcf |
children | 2f4098672066 |
rev | line source |
---|---|
erjo@2073 | 1 # SliTaz package receipt. |
erjo@2073 | 2 |
erjo@2073 | 3 PACKAGE="xfce4-session" |
slaxemulator@8621 | 4 VERSION="4.8.1" |
erjo@2073 | 5 CATEGORY="x-window" |
erjo@2073 | 6 SHORT_DESC="Xfce session manager" |
erjo@2073 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@8023 | 8 DEPENDS="libxfce4util libxfce4ui libwnck dbus-glib libglade xorg-iceauth" |
erjo@5218 | 9 SUGGESTED="perl-xml-parser" |
gokhlayeh@8039 | 10 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev xfconf-dev libglade-dev dbus-dev \ |
pankso@12481 | 11 dbus-glib-dev xorg-iceauth libwnck-dev pkg-config intltool util-linux-uuid-dev" |
erjo@2073 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2073 | 13 WEB_SITE="http://www.xfce.org/" |
slaxemulator@8621 | 14 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@2073 | 15 |
erjo@2073 | 16 # Rules to configure and make the package. |
erjo@2073 | 17 compile_rules() |
erjo@2073 | 18 { |
erjo@2073 | 19 cd $src |
erjo@2073 | 20 ./configure --prefix=/usr \ |
erjo@2073 | 21 --sysconfdir=/etc \ |
erjo@8023 | 22 --enable-panel-plugin \ |
erjo@2073 | 23 --disable-gnome \ |
erjo@4130 | 24 --disable-debug \ |
pascal@4232 | 25 --libexecdir=/usr/lib/$PACKAGE \ |
erjo@2073 | 26 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@2073 | 27 make && make DESTDIR=$PWD/_pkg install |
erjo@2073 | 28 } |
erjo@2073 | 29 |
erjo@2073 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2073 | 31 genpkg_rules() |
erjo@2073 | 32 { |
pascal@4232 | 33 mkdir -p $fs/usr/lib \ |
erjo@2073 | 34 $fs/usr/share/locale \ |
erjo@4183 | 35 $fs/sbin |
erjo@4183 | 36 |
erjo@2073 | 37 cp -a $_pkg/etc $fs/ |
erjo@2073 | 38 cp -a $_pkg/usr/bin $fs/usr |
erjo@8023 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@8023 | 40 cp -a $_pkg/usr/lib/xfce4 $fs/usr/lib |
erjo@2073 | 41 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2073 | 42 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2073 | 43 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2073 | 44 cp -a $_pkg/usr/share/themes $fs/usr/share |
erjo@4183 | 45 #cp -a $_pkg/usr/share/xfce4 $fs/usr/share |
erjo@4183 | 46 |
erjo@4183 | 47 # xfce4-session-logout workarround |
erjo@4183 | 48 cp stuff/shutdown $fs/sbin |
erjo@4130 | 49 |
erjo@4130 | 50 # strip all files |
erjo@8023 | 51 #strip -s $fs/usr/lib/$PACKAGE/xf* |
erjo@4130 | 52 |
erjo@4130 | 53 # remove autostartfile |
erjo@4130 | 54 rm -f $fs/etc/xdg/autostart/* |
erjo@2073 | 55 |
erjo@2073 | 56 # Remove unecessary files |
erjo@2073 | 57 find $fs/ -name "*.*a" -exec rm -f {} \; |
erjo@8023 | 58 |
erjo@2073 | 59 # Remove SVG icons |
erjo@2073 | 60 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2073 | 61 } |
erjo@2073 | 62 |