wok annotate xfwm4/receipt @ rev 14829

Up: xfwm4* (4.10.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:54:29 2013 +0200 (2013-07-17)
parents 73641efed1cc
children 7896f0694ef6
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfwm4"
erjo@14829 4 VERSION="4.10.0"
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@14829 14 libwnck-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev"
erjo@14829 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@14829 27 make && make 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@14829 36 cp -a $install/usr/bin $fs/usr
erjo@14829 37 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
erjo@14829 38 cp -a $install/usr/share/applications $fs/usr/share
erjo@14829 39 cp -a $install/usr/share/icons $fs/usr/share
erjo@14829 40 cp -a $install/usr/share/themes $fs/usr/share
erjo@14829 41 cp -a $install/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