wok-next view gawk/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d224c2b13c81
children 29128929e4f9
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gawk"
4 VERSION="4.2.1"
5 CATEGORY="development"
6 SHORT_DESC="GNU awk to handle simple data-reformatting"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://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-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 make &&
21 make install || return 1
23 cook_pick_docs doc/awkforai.txt doc/*.eps doc/*.pdf doc/*.jpg
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 gawk)
29 copy @std
30 DEPENDS="readline"
31 TAGS="LFS"
32 ;;
33 *-dev) copy @dev;;
34 esac
35 }