wok-6.x annotate libxfcegui4/receipt @ rev 8832
slitaz-dev-tools is now a meta package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 24 16:15:12 2011 +0100 (2011-02-24) |
parents | 8f8fa9cea931 |
children | eecec58be8f9 |
rev | line source |
---|---|
erjo@2076 | 1 # SliTaz package receipt. |
erjo@2076 | 2 |
erjo@2076 | 3 PACKAGE="libxfcegui4" |
slaxemulator@8620 | 4 VERSION="4.8.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@5829 | 9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev |
gokhlayeh@8039 | 10 libglade-dev xcb-util-dev intltool" |
erjo@2076 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2076 | 12 WEB_SITE="http://www.xfce.org" |
slaxemulator@8051 | 13 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" |
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 \ |
slaxemulator@8051 | 21 --mandir=/usr/share/man \ |
slaxemulator@8051 | 22 --disable-static \ |
slaxemulator@8051 | 23 --disable-debug \ |
slaxemulator@8051 | 24 $CONFIGURE_ARGS && |
pascal@5003 | 25 make && |
erjo@2076 | 26 make DESTDIR=$PWD/_pkg install |
erjo@2076 | 27 } |
erjo@2076 | 28 |
erjo@2076 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2076 | 30 genpkg_rules() |
erjo@2076 | 31 { |
erjo@2076 | 32 |
erjo@2076 | 33 mkdir -p $fs/usr/lib \ |
erjo@2076 | 34 $fs/usr/share/locale |
erjo@2076 | 35 |
erjo@2076 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@4127 | 37 cp -a $_pkg/usr/lib/libglade $fs/usr/lib |
erjo@2076 | 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2076 | 39 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2076 | 40 |
erjo@2076 | 41 # Remove SVG icons |
erjo@2076 | 42 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2076 | 43 |
erjo@2076 | 44 } |
erjo@2076 | 45 |