wok view automake/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 51b3e2d10e16
children 11b5e93cb5f2
line source
1 # SliTaz package receipt.
3 PACKAGE="automake"
4 VERSION="1.14.1"
5 CATEGORY="development"
6 SHORT_DESC="A GNU tool for automatically creating Makefiles"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnu.org/software/automake/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="autoconf"
14 BUILD_DEPENDS="autoconf bison flex"
16 # Rules to compile & install the temporary toolchain.
17 cook_tmp_toolchain()
18 {
19 ./configure && make && make install
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install
29 cook_compress_manpages
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 ln -sf aclocal-${VERSION%.*} $fs/usr/bin/aclocal
37 ln -sf automake-${VERSION%.*} $fs/usr/bin/automake
38 rm -rf $fs/usr/share/doc $fs/usr/share/info $fs/usr/share/man
39 }