wok annotate libxfcegui4/receipt @ rev 2538
sudoku-savant: fix compile_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 22 12:18:54 2009 +0100 (2009-03-22) |
parents | a714cd6d9d90 |
children | 4666cb462d9c |
rev | line source |
---|---|
erjo@2076 | 1 # SliTaz package receipt. |
erjo@2076 | 2 |
erjo@2076 | 3 PACKAGE="libxfcegui4" |
erjo@2076 | 4 VERSION="4.4.3" |
erjo@2076 | 5 CATEGORY="x-window" |
erjo@2076 | 6 SHORT_DESC="Xfce Gtk Widget library" |
erjo@2076 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@2518 | 8 DEPENDS="gtk+ libxfce4util startup-notification xorg-libXdamage" |
erjo@2076 | 9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev" |
erjo@2076 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@2076 | 11 WEB_SITE="http://www.xfce.org" |
erjo@2076 | 12 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL" |
erjo@2076 | 13 |
erjo@2076 | 14 # Rules to configure and make the package. |
erjo@2076 | 15 compile_rules() |
erjo@2076 | 16 { |
erjo@2076 | 17 cd $src |
erjo@2076 | 18 ./configure --prefix=/usr \ |
erjo@2076 | 19 --infodir=/usr/share/info \ |
pascal@2475 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2475 | 21 make && |
erjo@2076 | 22 make DESTDIR=$PWD/_pkg install |
erjo@2076 | 23 } |
erjo@2076 | 24 |
erjo@2076 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2076 | 26 genpkg_rules() |
erjo@2076 | 27 { |
erjo@2076 | 28 |
erjo@2076 | 29 mkdir -p $fs/usr/lib \ |
erjo@2076 | 30 $fs/usr/share/locale |
erjo@2076 | 31 |
erjo@2076 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@2076 | 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@2076 | 34 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@2076 | 35 |
erjo@2076 | 36 # Remove SVG icons |
erjo@2076 | 37 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2076 | 38 |
erjo@2076 | 39 } |
erjo@2076 | 40 |