wok-6.x annotate xfwm4/receipt @ rev 3221
Add: linuxqq and chinese font
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Wed May 27 12:47:59 2009 +0800 (2009-05-27) |
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 |