wok annotate xfwm4/receipt @ rev 8027

up: xfwm4 (4.8.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 20 02:18:29 2011 +0100 (2011-01-20)
parents 9ca1aac4bd2d
children c5b3cfecea6f
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfwm4"
erjo@8027 4 VERSION="4.8.0"
erjo@2075 5 CATEGORY="x-window"
erjo@2075 6 SHORT_DESC="Xfce Window Manager"
erjo@2075 7 MAINTAINER="erjo@slitaz.org"
erjo@8027 8 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
erjo@8027 9 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto"
erjo@2075 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2075 11 WEB_SITE="http://www.xfce.org/"
erjo@8027 12 WGET_URL="http://archive.xfce.org/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