gawk: converted to subpkgs.
--HG-- extra : convert_revision : f5f17f1604557131e5649f957015b019045031f4
This commit is contained in:
parent
0b8c5b3253
commit
733c889185
3 changed files with 20 additions and 0 deletions
1
templates/gawk-locale
Symbolic link
1
templates/gawk-locale
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
gawk
|
17
templates/gawk/locale.template
Normal file
17
templates/gawk/locale.template
Normal 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
|
||||||
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
# Template file for 'gawk'
|
# Template file for 'gawk'
|
||||||
pkgname=gawk
|
pkgname=gawk
|
||||||
|
sourcepkg=gawk
|
||||||
version=3.1.6
|
version=3.1.6
|
||||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
|
@ -12,3 +13,4 @@ long_desc="
|
||||||
|
|
||||||
base_chroot=yes
|
base_chroot=yes
|
||||||
run_depends="glibc-2.8"
|
run_depends="glibc-2.8"
|
||||||
|
subpackages="locale"
|
||||||
|
|
Loading…
Reference in a new issue