wok-stable annotate foomatic-filters/receipt @ rev 5891
Up: tmux (1.3)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jul 22 08:08:04 2010 +0200 (2010-07-22) |
parents | fb8aceda65ff |
children | 09aa206fc45e |
rev | line source |
---|---|
jozee@2765 | 1 # SliTaz package receipt. |
jozee@2765 | 2 |
jozee@2765 | 3 PACKAGE="foomatic-filters" |
jozee@4517 | 4 VERSION="4.0.3" |
jozee@2765 | 5 CATEGORY="system-tools" |
jozee@2765 | 6 SHORT_DESC="Top quality printer drivers for Canon, Epson" |
jozee@2765 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@5001 | 8 DEPENDS="ghostscript gcc-lib-base" |
jozee@2765 | 9 BUILD_DEPENDS="ghostscript-dev cups-dev" |
jozee@2765 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2765 | 11 WEB_SITE="http://www.linuxprinting.org/foomatic.html" |
jozee@2765 | 12 WGET_URL="http://www.openprinting.org/download/foomatic/$TARBALL" |
jozee@4936 | 13 TAGS="printer driver printing" |
jozee@2765 | 14 |
jozee@2765 | 15 # Rules to configure and make the package. |
jozee@2765 | 16 compile_rules() |
jozee@2765 | 17 { |
jozee@2765 | 18 cd $src |
jozee@2765 | 19 ./configure \ |
jozee@2765 | 20 --prefix=/usr \ |
jozee@2765 | 21 --sysconfdir=/etc \ |
jozee@2765 | 22 $CONFIGURE_ARGS && |
jozee@2765 | 23 make && |
jozee@2765 | 24 make DESTDIR=$PWD/_pkg install |
jozee@2765 | 25 |
jozee@2765 | 26 } |
jozee@2765 | 27 |
jozee@2765 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2765 | 29 genpkg_rules() |
jozee@2765 | 30 { |
jozee@2765 | 31 mkdir -p $fs/etc $fs/usr/lib |
jozee@2765 | 32 |
jozee@2765 | 33 cp -a $_pkg/usr/bin $fs/usr |
jozee@2765 | 34 cp -a $_pkg/usr/lib/cups $fs/usr/lib |
jozee@2765 | 35 cp -a $_pkg/etc $fs |
jozee@2765 | 36 |
jozee@2765 | 37 } |
jozee@2765 | 38 |