wok annotate xfce4-session/receipt @ rev 2634
firefox-simple-mail: Remove old extension
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 16 18:34:14 2009 +0200 (2009-04-16) |
parents | 917290e1ad30 |
children | eefbe595c475 |
rev | line source |
---|---|
erjo@2073 | 1 # SliTaz package receipt. |
erjo@2073 | 2 |
erjo@2073 | 3 PACKAGE="xfce4-session" |
erjo@2073 | 4 VERSION="4.4.3" |
erjo@2073 | 5 CATEGORY="x-window" |
erjo@2073 | 6 SHORT_DESC="Xfce session manager" |
erjo@2073 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2420 | 8 DEPENDS="xorg-libSM xfce-mcs-manager libxfce4util libxfcegui4 libxfce4mcs \ |
pascal@2528 | 9 xfce4-panel dbus xorg-libXdamage" |
erjo@2073 | 10 BUILD_DEPENDS="xorg-libSM-dev libxfce4util-dev xfce-mcs-manager-dev xorg-iceauth" |
erjo@2073 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2073 | 12 WEB_SITE="http://www.xfce.org/" |
erjo@2073 | 13 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL" |
erjo@2073 | 14 |
erjo@2073 | 15 # Rules to configure and make the package. |
erjo@2073 | 16 compile_rules() |
erjo@2073 | 17 { |
erjo@2073 | 18 cd $src |
erjo@2073 | 19 ./configure --prefix=/usr \ |
erjo@2073 | 20 --sysconfdir=/etc \ |
erjo@2073 | 21 --enable-dbus \ |
erjo@2073 | 22 --enable-final \ |
erjo@2073 | 23 --disable-gnome \ |
erjo@2073 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@2073 | 25 make && make DESTDIR=$PWD/_pkg install |
erjo@2073 | 26 } |
erjo@2073 | 27 |
erjo@2073 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2073 | 29 genpkg_rules() |
erjo@2073 | 30 { |
erjo@2073 | 31 mkdir -p $fs/usr \ |
erjo@2073 | 32 $fs/usr/share/locale \ |
erjo@2073 | 33 $fs/usr/lib/xfce4/mcs-plugins |
erjo@2073 | 34 |
erjo@2073 | 35 cp -a $_pkg/etc $fs/ |
erjo@2073 | 36 cp -a $_pkg/usr/bin $fs/usr |
erjo@2073 | 37 cp -a $_pkg/usr/libexec $fs/usr |
erjo@2073 | 38 cp -a $_pkg/usr/lib $fs/usr |
erjo@2073 | 39 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2073 | 40 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2073 | 41 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2073 | 42 cp -a $_pkg/usr/share/themes $fs/usr/share |
erjo@2073 | 43 cp -a $_pkg/usr/share/xfce4 $fs/usr/share |
erjo@2073 | 44 |
erjo@2073 | 45 # Remove unecessary files |
erjo@2073 | 46 find $fs/ -name "*.*a" -exec rm -f {} \; |
erjo@2073 | 47 rm -rf $fs/usr/lib/pkgconfig |
erjo@2073 | 48 # Remove SVG icons |
erjo@2073 | 49 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2073 | 50 } |
erjo@2073 | 51 |