wok annotate xfwm4/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
parents 93c7babc7da8
children 850328f07d42
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"
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"
erjo@2075 12
erjo@9881 13 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
erjo@9881 14 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
erjo@14829 15 libwnck-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev"
erjo@14829 16
erjo@2075 17 # Rules to configure and make the package.
erjo@2075 18 compile_rules()
erjo@2075 19 {
erjo@2075 20 cd $src
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 \
erjo@4135 35 $fs/usr/share/locale
erjo@2075 36
erjo@14829 37 cp -a $install/usr/bin $fs/usr
erjo@14829 38 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
erjo@14829 39 cp -a $install/usr/share/applications $fs/usr/share
erjo@14829 40 cp -a $install/usr/share/icons $fs/usr/share
erjo@14829 41 cp -a $install/usr/share/themes $fs/usr/share
erjo@14829 42 cp -a $install/usr/share/xfwm4 $fs/usr/share
erjo@2075 43
erjo@2075 44 # Remove SVG icons
erjo@2075 45 test -d $fs/usr/share/icons/hicolor/scalable \
erjo@2075 46 && rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2075 47 }
erjo@2075 48