wok annotate xfwm4/receipt @ rev 9533

Fixed erlang softlinks in /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Apr 08 03:22:58 2011 +0000 (2011-04-08)
parents 8e229ab81413
children 55e23a927f26
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@8027 8 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
gokhlayeh@8039 9 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool"
erjo@2075 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2075 11 WEB_SITE="http://www.xfce.org/"
slaxemulator@8288 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2075 13
erjo@2075 14 # Rules to configure and make the package.
erjo@2075 15 compile_rules()
erjo@2075 16 {
erjo@2075 17 cd $src
erjo@2075 18 ./configure --prefix=/usr \
erjo@2075 19 --enable-render \
erjo@2075 20 --enable-startup-notification \
erjo@2075 21 --enable-randr \
erjo@2075 22 --disable-debug \
slaxemulator@8032 23 --disable-static \
erjo@2075 24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@2075 25 make && make DESTDIR=$PWD/_pkg install
erjo@2075 26 }
erjo@2075 27
erjo@2075 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 29 genpkg_rules()
erjo@2075 30 {
erjo@2075 31 mkdir -p $fs/usr \
erjo@4135 32 $fs/usr/share/locale
erjo@2075 33
erjo@2075 34 cp -a $_pkg/usr/bin $fs/usr
erjo@2075 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2075 36 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@2075 37 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2075 38 cp -a $_pkg/usr/share/themes $fs/usr/share
erjo@2075 39 cp -a $_pkg/usr/share/xfwm4 $fs/usr/share
erjo@2075 40
erjo@2075 41 # Remove SVG icons
erjo@2075 42 test -d $fs/usr/share/icons/hicolor/scalable \
erjo@2075 43 && rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2075 44 }
erjo@2075 45