wok-6.x annotate libxfcegui4/receipt @ rev 5643

Up lguest 2.6.24
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 28 22:15:48 2010 +0200 (2010-05-28)
parents f165fed5166c
children bebe722e42d2
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"
pascal@5003 8 DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib libglade"
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 \
pascal@5003 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@5003 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