wok-4.x annotate splix/receipt @ rev 5484

seamonkey: fix wget_url (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 06 09:32:56 2010 +0200 (2010-05-06)
parents a0d93e8f5edf
children cab9307d1516
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/"
pascal@5007 9 DEPENDS="cups gcc gcc-lib-base"
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 }