wok-6.x view libgnomeprint/receipt @ rev 13889
Up: slitaz-dev-tools (1.9)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 17 19:37:12 2013 +0100 (2013-01-17) |
parents | 15b53401a938 |
children | 4904e3d374a9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomeprint"
4 VERSION="2.18.8"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME print library"
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnome.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="gtk+ popt libxml2 libart_lgpl"
13 BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev \
14 libxml2-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --with-html-dir=/usr/share/doc \
22 --without-cups \
23 $CONFIGURE_ARGS &&
24 make && make 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 }