wok-next view foomatic-db/receipt @ rev 16341
Add slitaz-arm-rpi (only for ARM arch, hope i486 cooker will handle it)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 12 14:59:28 2014 +0200 (2014-04-12) |
parents | fc4ef6edc657 |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="foomatic-db"
4 VERSION="4.0-20101114"
5 CATEGORY="system-tools"
6 SHORT_DESC="Database used by foomatic-db-engine to generate PPD files"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.linuxprinting.org/foomatic.html"
11 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL"
12 TAGS="printer driver printing"
14 DEPENDS="ghostscript perl libxml2"
15 BUILD_DEPENDS="ghostscript-dev cups-dev perl libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/share $fs/usr
36 # remove unzipped ppd files
37 find $fs/usr/share/foomatic/db/source/PPD -name "*.ppd" -exec rm -f '{}' 2>/dev/null \;
38 }