wok view splix/receipt @ rev 6914
Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 23:49:16 2010 +0000 (2010-10-21) |
parents | 4897058add72 |
children | 64fae462fb28 |
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 sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp
20 make &&
21 make CUPSFILTER=$PWD/_pkg/`cups-config --serverbin`/filter \
22 CUPSPPD=$PWD/_pkg/`cups-config --datadir`/model \
23 install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/usr/lib/cups $fs/usr/lib/
31 cp -a $_pkg/usr/share/cups $fs/usr/share
32 # gzip all ppd files
33 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9
34 }