wok annotate xfwm4/receipt @ rev 2093
slitaz-configs: up DEPENDS for 1.0 to 2.0 upgrade (new desktop)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 28 18:57:20 2009 +0100 (2009-01-28) |
parents | |
children | 422f5813b998 |
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" |
erjo@2075 | 8 DEPENDS="xorg-libSM xfce-mcs-manager xorg-libXrender xorg-libXrandr" |
erjo@2075 | 9 BUILD_DEPENDS="xorg-libSM-dev libxfce4util-dev xfce-mcs-manager-dev |
erjo@2075 | 10 xorg-libXrender-dev xorg-libXrandr-dev" |
erjo@2075 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2075 | 12 WEB_SITE="http://www.xfce.org/" |
erjo@2075 | 13 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL" |
erjo@2075 | 14 |
erjo@2075 | 15 # Rules to configure and make the package. |
erjo@2075 | 16 compile_rules() |
erjo@2075 | 17 { |
erjo@2075 | 18 cd $src |
erjo@2075 | 19 ./configure --prefix=/usr \ |
erjo@2075 | 20 --enable-render \ |
erjo@2075 | 21 --enable-startup-notification \ |
erjo@2075 | 22 --enable-randr \ |
erjo@2075 | 23 --disable-debug \ |
erjo@2075 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@2075 | 25 make && make DESTDIR=$PWD/_pkg install |
erjo@2075 | 26 } |
erjo@2075 | 27 |
erjo@2075 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2075 | 29 genpkg_rules() |
erjo@2075 | 30 { |
erjo@2075 | 31 mkdir -p $fs/usr \ |
erjo@2075 | 32 $fs/usr/share/locale \ |
erjo@2075 | 33 $fs/usr/lib/xfce4/mcs-plugins |
erjo@2075 | 34 |
erjo@2075 | 35 cp -a $_pkg/usr/bin $fs/usr |
erjo@2075 | 36 cp -a $_pkg/usr/lib/xfce4/mcs-plugins $fs/usr/lib/xfce4/mcs-plugins/*.so* |
erjo@2075 | 37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2075 | 38 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2075 | 39 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2075 | 40 cp -a $_pkg/usr/share/themes $fs/usr/share |
erjo@2075 | 41 cp -a $_pkg/usr/share/xfwm4 $fs/usr/share |
erjo@2075 | 42 |
erjo@2075 | 43 # Remove SVG icons |
erjo@2075 | 44 test -d $fs/usr/share/icons/hicolor/scalable \ |
erjo@2075 | 45 && rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2075 | 46 } |
erjo@2075 | 47 |