wok view libgnomeprint/receipt @ rev 16757

Up sshfs-fuse (2.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 16 20:36:28 2014 +0200 (2014-06-16)
parents 7424e96305c4
children 86790a278e70
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ popt libxml2 libart_lgpl"
14 BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev \
15 libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --with-html-dir=/usr/share/doc \
23 --without-cups \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share/locale
33 # Copy shared libs
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
37 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
38 cp -a $install/usr/share/$PACKAGE $fs/usr/share
40 # Remove static libs
41 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a
42 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a
43 }