wok-next view atm-tools/receipt @ rev 19269

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 14:47:05 2016 +0300 (2016-07-04)
parents 617dbdeb6f7e
children 11b5e93cb5f2
line source
1 # SliTaz package receipt.
3 PACKAGE="atm-tools"
4 VERSION="2.5.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="User space tools for atm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="linux-atm"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://$SOURCE.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 CONFIG_FILES="/etc/atmsigd.conf"
15 BUILD_DEPENDS="flex"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 busybox patch -p0 < $stuff/MAX_PATH.u
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make -j1 &&
24 make -j1 DESTDIR=$DESTDIR install
26 cook_compress_manpages
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/etc $fs
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }