wok-next view libgnomeprint/receipt @ rev 498
Busybox: add patch -R
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 24 15:49:00 2008 +0000 (2008-03-24) |
parents | 5fabfae1758c |
children | dd8bb4875d43 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomeprint"
4 VERSION="2.18.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME print library"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ popt libxml2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.18/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 --with-html-dir=/usr/share/doc \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share/locale
32 # Copy shared libs
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
37 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
39 # Remove static libs
40 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a
41 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a
42 strip -s $fs/usr/lib/* 2>/dev/null
43 strip $fs/usr/lib/$PACKAGE/$VERSION/modules/*.so
44 strip $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*
45 }