wok-next view gawk/receipt @ rev 20566
linld, screenfetch: create $install tree (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 10:30:46 2018 +0200 (2018-04-10) |
parents | 7387df590f12 |
children | d224c2b13c81 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gawk"
4 VERSION="4.1.4"
5 CATEGORY="development"
6 SHORT_DESC="GNU awk to handle simple data-reformatting"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/software/gawk/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gawk.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="readline-dev gettext"
16 SPLIT="gawk-dev"
18 # Rules to compile & install the temporary toolchain.
19 cook_tmp_toolchain() {
20 cd $src
21 ./configure && make && make install
22 }
24 compile_rules() {
25 ./configure $CONFIGURE_ARGS && make && make install || return 1
27 cook_pick_docs doc/awkforai.txt doc/*.eps doc/*.pdf doc/*.jpg
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 gawk)
33 copy @std
34 DEPENDS="readline"
35 TAGS="LFS"
36 ;;
37 *-dev) copy @dev;;
38 esac
39 }