wok-next annotate splix/receipt @ rev 7327
Enabled devtmpfs support in kernel. Also enabled APM to help reboot some systems.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 18 19:15:28 2010 +0000 (2010-11-18) |
parents | 4897058add72 |
children | 64fae462fb28 |
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 |
pascal@5714 | 19 sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp |
jozee@4554 | 20 make && |
jozee@4554 | 21 make CUPSFILTER=$PWD/_pkg/`cups-config --serverbin`/filter \ |
jozee@4554 | 22 CUPSPPD=$PWD/_pkg/`cups-config --datadir`/model \ |
jozee@4554 | 23 install |
jozee@4554 | 24 } |
jozee@4554 | 25 |
jozee@4554 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4554 | 27 genpkg_rules() |
jozee@4554 | 28 { |
jozee@4554 | 29 mkdir -p $fs/usr/lib $fs/usr/share |
jozee@4554 | 30 cp -a $_pkg/usr/lib/cups $fs/usr/lib/ |
jozee@4554 | 31 cp -a $_pkg/usr/share/cups $fs/usr/share |
jozee@4554 | 32 # gzip all ppd files |
jozee@4554 | 33 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 |
jozee@4554 | 34 } |