wok-current annotate xfwm4/receipt @ rev 2221
Add screen-pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 12 09:30:15 2009 +0000 (2009-02-12) |
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 |