wok annotate xfwm4/receipt @ rev 2528
x*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 22:48:55 2009 +0000 (2009-03-16) |
parents | 62c9d38f56c0 |
children | ae431daa8afa |
rev | line source |
---|---|
erjo@2075 | 1 # SliTaz package receipt. |
erjo@2075 | 2 |
erjo@2075 | 3 PACKAGE="xfwm4" |
erjo@2075 | 4 VERSION="4.4.3" |
erjo@2075 | 5 CATEGORY="x-window" |
erjo@2075 | 6 SHORT_DESC="Xfce Window Manager" |
erjo@2075 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2528 | 8 DEPENDS="xorg-libSM xfce-mcs-manager xorg-libXrender xorg-libXrandr \ |
pascal@2528 | 9 xorg-libXdamage" |
erjo@2075 | 10 BUILD_DEPENDS="xorg-libSM-dev libxfce4util-dev xfce-mcs-manager-dev |
erjo@2075 | 11 xorg-libXrender-dev xorg-libXrandr-dev" |
erjo@2075 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2075 | 13 WEB_SITE="http://www.xfce.org/" |
erjo@2075 | 14 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL" |
erjo@2075 | 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 --enable-render \ |
erjo@2075 | 22 --enable-startup-notification \ |
erjo@2075 | 23 --enable-randr \ |
erjo@2075 | 24 --disable-debug \ |
erjo@2075 | 25 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@2075 | 26 make && make DESTDIR=$PWD/_pkg install |
erjo@2075 | 27 } |
erjo@2075 | 28 |
erjo@2075 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2075 | 30 genpkg_rules() |
erjo@2075 | 31 { |
erjo@2075 | 32 mkdir -p $fs/usr \ |
erjo@2075 | 33 $fs/usr/share/locale \ |
erjo@2075 | 34 $fs/usr/lib/xfce4/mcs-plugins |
erjo@2075 | 35 |
erjo@2075 | 36 cp -a $_pkg/usr/bin $fs/usr |
erjo@2075 | 37 cp -a $_pkg/usr/lib/xfce4/mcs-plugins $fs/usr/lib/xfce4/mcs-plugins/*.so* |
erjo@2075 | 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2075 | 39 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2075 | 40 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2075 | 41 cp -a $_pkg/usr/share/themes $fs/usr/share |
erjo@2075 | 42 cp -a $_pkg/usr/share/xfwm4 $fs/usr/share |
erjo@2075 | 43 |
erjo@2075 | 44 # Remove SVG icons |
erjo@2075 | 45 test -d $fs/usr/share/icons/hicolor/scalable \ |
erjo@2075 | 46 && rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2075 | 47 } |
erjo@2075 | 48 |