wok annotate xfwm4/receipt @ rev 13395

tcc-*: fix WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 26 13:25:48 2012 +0200 (2012-09-26)
parents 55e23a927f26
children 93c7babc7da8
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 \
pankso@12481 14 libwnck-dev dbus-glib-dev util-linux-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