gawk: converted to subpkgs.

--HG--
extra : convert_revision : f5f17f1604557131e5649f957015b019045031f4
This commit is contained in:
Juan RP 2009-02-20 16:59:28 +01:00
parent 0b8c5b3253
commit 733c889185
3 changed files with 20 additions and 0 deletions

1
templates/gawk-locale Symbolic link
View File

@ -0,0 +1 @@
gawk

View File

@ -0,0 +1,17 @@
# Template file for 'gawk-locale'.
#
short_desc="${short_desc} (locales)"
long_desc="${long_desc}
This package contains the ${sourcepkg} locale files, for non US users."
run_depends=
noarch=yes
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
mkdir -p ${destdir}/usr/share
mv ${XBPS_DESTDIR}/${sourcepkg}-${version}/usr/share/locale \
${destdir}/usr/share
}

View File

@ -1,5 +1,6 @@
# Template file for 'gawk'
pkgname=gawk
sourcepkg=gawk
version=3.1.6
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
@ -12,3 +13,4 @@ long_desc="
base_chroot=yes
run_depends="glibc-2.8"
subpackages="locale"