wok view libgnomeprint/receipt @ rev 22765

updated fltk packages (1.3.4.2 -> 1.3.5)
author Hans-G?nter Theisgen
date Sat Jan 25 13:47:19 2020 +0100 (2020-01-25)
parents 4904e3d374a9
children add4006354aa
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="https://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 }