wok annotate xfwm4/receipt @ rev 19563

linld: fix previous commit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 17 19:13:29 2016 +0100 (2016-12-17)
parents 850328f07d42
children 9053833522ce
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfwm4"
devl547@16306 4 VERSION="4.11.1"
erjo@2075 5 CATEGORY="x-window"
erjo@2075 6 SHORT_DESC="Xfce Window Manager"
erjo@2075 7 MAINTAINER="erjo@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erjo@2075 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2075 10 WEB_SITE="http://www.xfce.org/"
slaxemulator@8288 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
al@17501 12 TAGS="window-manager"
erjo@2075 13
erjo@9881 14 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
erjo@9881 15 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
al@17501 16 libwnck-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev"
al@17501 17
erjo@2075 18 # Rules to configure and make the package.
erjo@2075 19 compile_rules()
erjo@2075 20 {
erjo@2075 21 ./configure --prefix=/usr \
erjo@2075 22 --enable-render \
erjo@2075 23 --enable-startup-notification \
erjo@2075 24 --enable-randr \
erjo@2075 25 --disable-debug \
slaxemulator@8032 26 --disable-static \
erjo@2075 27 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@14829 28 make && make install
erjo@2075 29 }
erjo@2075 30
erjo@2075 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 32 genpkg_rules()
erjo@2075 33 {
erjo@2075 34 mkdir -p $fs/usr \
al@17501 35 $fs/usr/share/locale
al@17501 36
erjo@14829 37 cp -a $install/usr/bin $fs/usr
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
al@17501 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 }