wok-next diff libgnomeprint/receipt @ rev 107
Removed libxslt (build dep of XCB)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 04 17:47:02 2008 +0100 (2008-01-04) |
parents | |
children | ccf126429a43 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libgnomeprint/receipt Fri Jan 04 17:47:02 2008 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libgnomeprint" 1.7 +VERSION="2.18.0" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="GNOME print library" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+ popt libxml2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://www.gnome.org/" 1.14 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.18/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure \ 1.21 + --prefix=/usr \ 1.22 + --infodir=/usr/share/info \ 1.23 + --mandir=/usr/share/man \ 1.24 + --with-html-dir=/usr/share/doc \ 1.25 + $CONFIGURE_ARGS 1.26 + make 1.27 + make DESTDIR=$PWD/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib $fs/usr/share/locale 1.34 + 1.35 + # Copy shared libs 1.36 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.37 + cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib 1.38 + 1.39 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.40 + cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.41 + 1.42 + # Remove static libs 1.43 + rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a 1.44 + rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a 1.45 + strip -s $fs/usr/lib/* 2>/dev/null 1.46 + strip $fs/usr/lib/$PACKAGE/$VERSION/modules/*.so 1.47 + strip $fs/usr/lib/$PACKAGE/$VERSION/modules/*/* 1.48 +} 1.49 +