wok-current view splix/receipt @ rev 5126
Up: slitaz-tools (3.6) Lots of fixes and improvments
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 21 13:37:33 2010 +0100 (2010-03-21) |
parents | a0d93e8f5edf |
children | cab9307d1516 |
line source
1 # SliTaz package receipt.
3 PACKAGE="splix"
4 VERSION="2.0.0"
5 CATEGORY="system-tools"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="CUPS drivers for SPL (Samsung Printer Language) printers"
8 WEB_SITE="http://splix.ap2c.org/"
9 DEPENDS="cups gcc gcc-lib-base"
10 BUILD_DEPENDS="cups cups-dev jbigkit"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://downloads.sourceforge.net/splix/$TARBALL"
13 TAGS=""
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 make &&
20 make CUPSFILTER=$PWD/_pkg/`cups-config --serverbin`/filter \
21 CUPSPPD=$PWD/_pkg/`cups-config --datadir`/model \
22 install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $_pkg/usr/lib/cups $fs/usr/lib/
30 cp -a $_pkg/usr/share/cups $fs/usr/share
31 # gzip all ppd files
32 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
33 }