wok-next annotate gawk/receipt @ rev 20717

pcmanfm-legacy: use patch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:00:58 2018 +0300 (2018-05-27)
parents 7387df590f12
children d224c2b13c81
rev   line source
al@19743 1 # SliTaz package receipt v2.
pankso@70 2
pankso@70 3 PACKAGE="gawk"
al@19743 4 VERSION="4.1.4"
pankso@204 5 CATEGORY="development"
al@19743 6 SHORT_DESC="GNU awk to handle simple data-reformatting"
pankso@70 7 MAINTAINER="pankso@slitaz.org"
pascal@15201 8 LICENSE="GPL3"
pankso@70 9 WEB_SITE="http://www.gnu.org/software/gawk/"
al@20436 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gawk.html"
pankso@70 11
al@19561 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19561 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
al@19561 14
al@19561 15 BUILD_DEPENDS="readline-dev gettext"
al@19743 16 SPLIT="gawk-dev"
slaxemulator@10348 17
gokhlayeh@8179 18 # Rules to compile & install the temporary toolchain.
al@20436 19 cook_tmp_toolchain() {
gokhlayeh@8179 20 cd $src
gokhlayeh@8179 21 ./configure && make && make install
gokhlayeh@8179 22 }
gokhlayeh@8179 23
al@20436 24 compile_rules() {
al@20436 25 ./configure $CONFIGURE_ARGS && make && make install || return 1
al@20436 26
al@20436 27 cook_pick_docs doc/awkforai.txt doc/*.eps doc/*.pdf doc/*.jpg
pankso@70 28 }
pankso@70 29
al@20436 30 genpkg_rules() {
al@19743 31 case $PACKAGE in
al@19743 32 gawk)
al@19743 33 copy @std
al@19743 34 DEPENDS="readline"
al@20436 35 TAGS="LFS"
al@19743 36 ;;
al@19743 37 *-dev) copy @dev;;
al@19743 38 esac
pankso@70 39 }