wok-next annotate splix/receipt @ rev 4957
init script for mysql, openldap & postgresql always check /etc/<daemon>.d/*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 17 22:01:10 2010 +0100 (2010-02-17) |
parents | |
children | 4897058add72 |
rev | line source |
---|---|
jozee@4554 | 1 # SliTaz package receipt. |
jozee@4554 | 2 |
jozee@4554 | 3 PACKAGE="splix" |
jozee@4554 | 4 VERSION="2.0.0" |
jozee@4554 | 5 CATEGORY="system-tools" |
jozee@4554 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4554 | 7 SHORT_DESC="CUPS drivers for SPL (Samsung Printer Language) printers" |
jozee@4554 | 8 WEB_SITE="http://splix.ap2c.org/" |
jozee@4554 | 9 DEPENDS="cups gcc" |
jozee@4554 | 10 BUILD_DEPENDS="cups cups-dev jbigkit" |
jozee@4554 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@4554 | 12 WGET_URL="http://downloads.sourceforge.net/splix/$TARBALL" |
jozee@4554 | 13 TAGS="" |
jozee@4554 | 14 |
jozee@4554 | 15 # Rules to configure and make the package. |
jozee@4554 | 16 |
jozee@4554 | 17 compile_rules() { |
jozee@4554 | 18 cd $src |
jozee@4554 | 19 make && |
jozee@4554 | 20 make CUPSFILTER=$PWD/_pkg/`cups-config --serverbin`/filter \ |
jozee@4554 | 21 CUPSPPD=$PWD/_pkg/`cups-config --datadir`/model \ |
jozee@4554 | 22 install |
jozee@4554 | 23 } |
jozee@4554 | 24 |
jozee@4554 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4554 | 26 genpkg_rules() |
jozee@4554 | 27 { |
jozee@4554 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
jozee@4554 | 29 cp -a $_pkg/usr/lib/cups $fs/usr/lib/ |
jozee@4554 | 30 cp -a $_pkg/usr/share/cups $fs/usr/share |
jozee@4554 | 31 # gzip all ppd files |
jozee@4554 | 32 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 |
jozee@4554 | 33 } |