wok-next view gawk/receipt @ rev 20567
xfe: update receipt; qt5: undo `fix math`
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 11 01:07:35 2018 +0300 (2018-04-11) |
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 }