wok-6.x annotate gawk/receipt @ rev 16892

libwebkit-video: typo
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Jul 14 13:34:17 2014 +0300 (2014-07-14)
parents 2b9f96603415
children 9e01bc6321ea
rev   line source
pankso@70 1 # SliTaz package receipt.
pankso@70 2
pankso@70 3 PACKAGE="gawk"
samuel_trassare@13489 4 VERSION="4.0.1"
pankso@204 5 CATEGORY="development"
pankso@70 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 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@70 10 WEB_SITE="http://www.gnu.org/software/gawk/"
pankso@70 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@70 12
slaxemulator@10348 13 DEPENDS=""
slaxemulator@10348 14 BUILD_DEPENDS="gcc"
slaxemulator@10348 15
gokhlayeh@8179 16 # Rules to compile & install the temporary toolchain.
gokhlayeh@8179 17 cook_tmp_toolchain()
gokhlayeh@8179 18 {
gokhlayeh@8179 19 cd $src
gokhlayeh@8179 20 ./configure && make && make install
gokhlayeh@8179 21 }
gokhlayeh@8179 22
pankso@70 23 # Rules to configure and make the package.
pankso@70 24 compile_rules()
pankso@70 25 {
pankso@70 26 cd $src
slaxemulator@10285 27 ./configure --libexecdir=/usr/lib \
slaxemulator@10285 28 $CONFIGURE_ARGS &&
slaxemulator@10285 29 make && make install
pankso@70 30 }
pankso@70 31
pankso@70 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@70 33 genpkg_rules()
pankso@70 34 {
pankso@70 35 mkdir -p $fs/usr/share/locale
pascal@14999 36 cp -a $install/usr/bin $fs/usr
pankso@70 37
pascal@14999 38 cp -a $install/usr/share/awk $fs/usr/share
pascal@14999 39 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pankso@70 40 }
pankso@70 41
rcx@3535 42 # Pre and post install commands for Tazpkg.
rcx@3535 43 # We must remove all Busybox symlink before installing.
pankso@73 44 pre_install()
pankso@70 45 {
pankso@70 46 local root
pankso@70 47 root=$1
pankso@70 48 rm -f $root/usr/bin/awk
pankso@70 49 }
pankso@70 50
rcx@3535 51 post_remove()
rcx@3535 52 {
slaxemulator@10285 53 ln -s /bin/busybox $1/usr/bin/awk
rcx@3535 54 }