wok-next annotate xfwm4/receipt @ rev 12223

Up: tazlito (4.6.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 05 16:28:40 2012 +0200 (2012-04-05)
parents d4b7efa2ec7d
children 73641efed1cc
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfwm4"
slaxemulator@8280 4 VERSION="4.8.1"
erjo@2075 5 CATEGORY="x-window"
erjo@2075 6 SHORT_DESC="Xfce Window Manager"
erjo@2075 7 MAINTAINER="erjo@slitaz.org"
erjo@2075 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2075 9 WEB_SITE="http://www.xfce.org/"
slaxemulator@8288 10 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2075 11
erjo@9881 12 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
erjo@9881 13 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
erjo@9881 14 libwnck-dev dbus-glib-dev util-linux-ng-uuid-dev"
erjo@9881 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 \
slaxemulator@8032 25 --disable-static \
erjo@2075 26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@9881 27 make && make DESTDIR=$DESTDIR install
erjo@2075 28 }
erjo@2075 29
erjo@2075 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 31 genpkg_rules()
erjo@2075 32 {
erjo@2075 33 mkdir -p $fs/usr \
erjo@4135 34 $fs/usr/share/locale
erjo@2075 35
erjo@2075 36 cp -a $_pkg/usr/bin $fs/usr
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