wok view a2ps/receipt @ rev 4003
linux: ensure linux-source will have patches
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 31 17:17:44 2009 +0200 (2009-08-31) |
parents | |
children | f4fd0777003f |
line source
1 # SliTaz package receipt.
3 PACKAGE="a2ps"
4 VERSION="4.14"
5 CATEGORY="office"
6 SHORT_DESC="Any to PostScript filter."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.infres.enst.fr/~demaille/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 BUILD_DEPENDS="gperf"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/* $fs
27 rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info
28 sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg
29 }