wok-next view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxfcegui4"
4 VERSION="4.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Gtk Widget library"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="gtk+ libxfce4util xfconf"
9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev libglade-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org"
12 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
30 mkdir -p $fs/usr/lib \
31 $fs/usr/share/locale
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
36 cp -a $_pkg/usr/share/icons $fs/usr/share
38 # Remove SVG icons
39 rm -rf $fs/usr/share/icons/hicolor/scalable
41 }