wok-stable annotate libxfcegui4/receipt @ rev 4127

Up: libxfcegui4 (4.6.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Sep 20 13:17:47 2009 +0000 (2009-09-20)
parents 2e55de4816a6
children f165fed5166c
rev   line source
erjo@2076 1 # SliTaz package receipt.
erjo@2076 2
erjo@2076 3 PACKAGE="libxfcegui4"
erjo@4127 4 VERSION="4.6.1"
erjo@2076 5 CATEGORY="x-window"
erjo@2076 6 SHORT_DESC="Xfce Gtk Widget library"
erjo@2076 7 MAINTAINER="erjo@slitaz.org"
erjo@4127 8 DEPENDS="gtk+ libxfce4util xfconf"
erjo@4127 9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev libglade-dev"
erjo@2076 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2076 11 WEB_SITE="http://www.xfce.org"
erjo@4127 12 WGET_URL="http://www.p0llux.be/xfce/xfce-$VERSION/src/$TARBALL
erjo@4127 13 http://www.tx-us.xfce.org/archive/xfce-$VERSION/src/$TARBALL"
erjo@4127 14
erjo@2076 15
erjo@2076 16 # Rules to configure and make the package.
erjo@2076 17 compile_rules()
erjo@2076 18 {
erjo@2076 19 cd $src
erjo@2076 20 ./configure --prefix=/usr \
erjo@2076 21 --infodir=/usr/share/info \
erjo@4127 22 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@4127 23 make
erjo@2076 24 make DESTDIR=$PWD/_pkg install
erjo@2076 25 }
erjo@2076 26
erjo@2076 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2076 28 genpkg_rules()
erjo@2076 29 {
erjo@2076 30
erjo@2076 31 mkdir -p $fs/usr/lib \
erjo@2076 32 $fs/usr/share/locale
erjo@2076 33
erjo@2076 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@4127 35 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
erjo@2076 36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2076 37 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2076 38
erjo@2076 39 # Remove SVG icons
erjo@2076 40 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2076 41
erjo@2076 42 }
erjo@2076 43