wok-next annotate xfwm4/receipt @ rev 7034
Change my mail
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Oct 31 23:30:12 2010 +0100 (2010-10-31) |
parents | 413b0174114a |
children | 7e968c7eff76 |
rev | line source |
---|---|
erjo@2075 | 1 # SliTaz package receipt. |
erjo@2075 | 2 |
erjo@2075 | 3 PACKAGE="xfwm4" |
erjo@5835 | 4 VERSION="4.6.2" |
erjo@2075 | 5 CATEGORY="x-window" |
erjo@2075 | 6 SHORT_DESC="Xfce Window Manager" |
erjo@2075 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@5008 | 8 DEPENDS="libxfce4util libxfcegui4 xfconf dbus-glib libwnck libglade" |
erjo@4135 | 9 BUILD_DEPENDS="libxfce4util-dev xfconf-dev" |
erjo@2075 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2075 | 11 WEB_SITE="http://www.xfce.org/" |
pascal@4220 | 12 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL" |
erjo@2075 | 13 |
erjo@2075 | 14 # Rules to configure and make the package. |
erjo@2075 | 15 compile_rules() |
erjo@2075 | 16 { |
erjo@2075 | 17 cd $src |
erjo@2075 | 18 ./configure --prefix=/usr \ |
erjo@2075 | 19 --enable-render \ |
erjo@2075 | 20 --enable-startup-notification \ |
erjo@2075 | 21 --enable-randr \ |
erjo@2075 | 22 --disable-debug \ |
erjo@2075 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@2075 | 24 make && make DESTDIR=$PWD/_pkg install |
erjo@2075 | 25 } |
erjo@2075 | 26 |
erjo@2075 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2075 | 28 genpkg_rules() |
erjo@2075 | 29 { |
erjo@2075 | 30 mkdir -p $fs/usr \ |
erjo@4135 | 31 $fs/usr/share/locale |
erjo@2075 | 32 |
erjo@2075 | 33 cp -a $_pkg/usr/bin $fs/usr |
erjo@2075 | 34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2075 | 35 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@2075 | 36 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2075 | 37 cp -a $_pkg/usr/share/themes $fs/usr/share |
erjo@2075 | 38 cp -a $_pkg/usr/share/xfwm4 $fs/usr/share |
erjo@2075 | 39 |
erjo@2075 | 40 # Remove SVG icons |
erjo@2075 | 41 test -d $fs/usr/share/icons/hicolor/scalable \ |
erjo@2075 | 42 && rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2075 | 43 } |
erjo@2075 | 44 |