wok-next annotate libxfcegui4/receipt @ rev 4529

db: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 30 09:54:40 2009 +0100 (2009-11-30)
parents 4666cb462d9c
children 8752c40cc534
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"
pascal@4214 12 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
erjo@4127 13
erjo@2076 14
erjo@2076 15 # Rules to configure and make the package.
erjo@2076 16 compile_rules()
erjo@2076 17 {
erjo@2076 18 cd $src
erjo@2076 19 ./configure --prefix=/usr \
erjo@2076 20 --infodir=/usr/share/info \
erjo@4127 21 --mandir=/usr/share/man $CONFIGURE_ARGS
erjo@4127 22 make
erjo@2076 23 make DESTDIR=$PWD/_pkg install
erjo@2076 24 }
erjo@2076 25
erjo@2076 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2076 27 genpkg_rules()
erjo@2076 28 {
erjo@2076 29
erjo@2076 30 mkdir -p $fs/usr/lib \
erjo@2076 31 $fs/usr/share/locale
erjo@2076 32
erjo@2076 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@4127 34 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
erjo@2076 35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@2076 36 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@2076 37
erjo@2076 38 # Remove SVG icons
erjo@2076 39 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2076 40
erjo@2076 41 }
erjo@2076 42