wok-next annotate gettext-base/receipt @ rev 19365
bwm-ng: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 03 14:21:25 2016 +0200 (2016-08-03) |
parents | c40da21aa3a1 |
children | 4eab61ea2c5a |
rev | line source |
---|---|
pankso@2746 | 1 # SliTaz package receipt. |
pankso@2746 | 2 |
pankso@2746 | 3 PACKAGE="gettext-base" |
devl547@17662 | 4 VERSION="0.19.4" |
pankso@2746 | 5 CATEGORY="base-system" |
pankso@2746 | 6 SHORT_DESC="Base tools from the GNU Translation Project." |
pankso@2746 | 7 MAINTAINER="pankso@slitaz.org" |
al@14903 | 8 LICENSE="GPL3" |
al@14903 | 9 WEB_SITE="http://www.gnu.org/software/gettext/" |
al@14903 | 10 HOST_ARCH="i486 arm" |
al@14903 | 11 |
gokhlayeh@8183 | 12 DEPENDS="glibc-base" |
pankso@2746 | 13 WANTED="gettext" |
pankso@12830 | 14 |
pankso@12830 | 15 # Just to be sure when cross compiling, gettext is part of base system. |
pankso@12830 | 16 testsuite() |
pankso@12830 | 17 { |
pankso@12830 | 18 readelf -h $install/usr/bin/gettext |
pankso@12830 | 19 } |
pankso@2746 | 20 |
pankso@2746 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2746 | 22 genpkg_rules() |
pankso@2746 | 23 { |
pankso@2746 | 24 mkdir -p $fs/usr/bin |
al@14903 | 25 install -m755 $install/usr/bin/gettext \ |
al@14903 | 26 $stuff/gettext.sh \ |
al@14903 | 27 $install/usr/bin/envsubst \ |
al@14903 | 28 $install/usr/bin/ngettext \ |
al@14903 | 29 $fs/usr/bin |
pankso@2746 | 30 } |