wok-current view a2ps/receipt @ rev 5133
Up: slitaz-configs (3.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 23 11:09:22 2010 +0100 (2010-03-23) |
parents | d1a8af0e1a74 |
children | 8290ff5b0d6b |
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"
12 TAGS="ps print convert"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $_pkg/* $fs
28 rm -rf $fs/usr/lib $fs/usr/include $fs/usr/share/man $fs/usr/share/info
29 sed -i 's/^FileCommand/#FileCommand/' $fs/etc/a2ps.cfg
30 }