wok-4.x view libgnomeprint/receipt @ rev 11730
tintin: don't use extension in desktop files
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Tue Feb 21 09:02:38 2012 -0800 (2012-02-21) |
parents | 695a299a5e52 |
children |
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 }