wok-current view libgnomeprint/receipt @ rev 10419
binutils: Replaced $BUILD_HOST with $HOST_SYSTEM.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue May 24 13:39:17 2011 +0000 (2011-05-24) |
parents | 695a299a5e52 |
children | 7424e96305c4 |
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --with-html-dir=/usr/share/doc \
21 --without-cups \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share/locale
31 # Copy shared libs
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
38 # Remove static libs
39 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a
40 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a
41 }