wok annotate libxfcegui4/receipt @ rev 5829
Up: libxfcegui4* (4.6.4)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 16 08:02:26 2010 +0200 (2010-07-16) |
parents | 8752c40cc534 |
children | 0874004b631d |
rev | line source |
---|---|
erjo@2076 | 1 # SliTaz package receipt. |
erjo@2076 | 2 |
erjo@2076 | 3 PACKAGE="libxfcegui4" |
erjo@5829 | 4 VERSION="4.6.4" |
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@5829 | 9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev |
erjo@5829 | 10 libglade-dev xcb-util-dev" |
erjo@2076 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2076 | 12 WEB_SITE="http://www.xfce.org" |
erjo@5829 | 13 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL \ |
erjo@5829 | 14 http://www.p0llux.be/xfce/archive/xfce/4.6.2/src/$TARBALL" |
erjo@4127 | 15 |
erjo@2076 | 16 |
erjo@2076 | 17 # Rules to configure and make the package. |
erjo@2076 | 18 compile_rules() |
erjo@2076 | 19 { |
erjo@2076 | 20 cd $src |
erjo@2076 | 21 ./configure --prefix=/usr \ |
erjo@2076 | 22 --infodir=/usr/share/info \ |
pascal@5003 | 23 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5003 | 24 make && |
erjo@2076 | 25 make DESTDIR=$PWD/_pkg install |
erjo@2076 | 26 } |
erjo@2076 | 27 |
erjo@2076 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2076 | 29 genpkg_rules() |
erjo@2076 | 30 { |
erjo@2076 | 31 |
erjo@2076 | 32 mkdir -p $fs/usr/lib \ |
erjo@2076 | 33 $fs/usr/share/locale |
erjo@2076 | 34 |
erjo@2076 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@4127 | 36 cp -a $_pkg/usr/lib/libglade $fs/usr/lib |
erjo@2076 | 37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2076 | 38 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2076 | 39 |
erjo@2076 | 40 # Remove SVG icons |
erjo@2076 | 41 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2076 | 42 |
erjo@2076 | 43 } |
erjo@2076 | 44 |