wok-6.x annotate slitaz-tools/receipt @ rev 16451
glibc-base: default locale is only en_US, other are moved to locale-** (say not to duplicate files); some locale definition files has their dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 19 12:09:55 2014 +0300 (2014-04-19) |
parents | 8f6629aadb18 |
children | db8e0a331b0e |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
pankso@16448 | 4 VERSION="5.8.1" |
pankso@194 | 5 CATEGORY="system-tools" |
pankso@2094 | 6 SHORT_DESC="SliTaz tools provide installer and utils usable on termnial." |
pankso@11 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15021 | 8 LICENSE="GPL3" |
al@14803 | 9 WEB_SITE="http://www.slitaz.org/" |
gokhlayeh@8012 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13775 | 11 WGET_URL="http://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.gz" |
pankso@12882 | 12 HOST_ARCH="i486 arm" |
pankso@12882 | 13 |
al@14803 | 14 SUGGESTED="slitaz-tools-boxes" |
pankso@12882 | 15 DEPENDS="slitaz-boot-scripts dialog gettext-base slitaz-configs-base" |
pankso@12882 | 16 BUILD_DEPENDS="gettext" |
pankso@12882 | 17 |
pankso@12882 | 18 # Handle multiarch compilation. |
pankso@12882 | 19 case "$ARCH" in |
pankso@12882 | 20 arm) |
pankso@12882 | 21 DEPENDS="slitaz-boot-scripts dialog gettext-base" |
pankso@12882 | 22 BUILD_DEPENDS="" ;; |
pankso@12882 | 23 esac |
pankso@12882 | 24 |
pankso@12882 | 25 # Saved config file by package manager |
pascal@1212 | 26 CONFIG_FILES=" |
pascal@1212 | 27 /etc/TZ |
pascal@1212 | 28 /etc/keymap.conf |
pascal@1212 | 29 /etc/locale.conf |
slaxemulator@13650 | 30 /etc/firewall.conf" |
pankso@11 | 31 |
pankso@5126 | 32 # Rules to configure and make the package. |
pankso@5126 | 33 compile_rules() |
pankso@5126 | 34 { |
pankso@16442 | 35 mkdir -p $DESTDIR/usr/share |
al@14803 | 36 make && make DESTDIR=$DESTDIR install |
pankso@5126 | 37 } |
pankso@5126 | 38 |
pankso@11 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 40 genpkg_rules() |
pankso@11 | 41 { |
pankso@10789 | 42 mkdir -p $fs |
pankso@10789 | 43 cp -a $install/* $fs |
pankso@16442 | 44 |
pankso@16442 | 45 # Fix for 5.8 |
pankso@16442 | 46 rm -rf $fs/usr/usr |
pankso@16445 | 47 cp -a ${src}/doc $fs/usr/share |
pankso@16442 | 48 |
pankso@10859 | 49 chmod 0644 $fs/usr/share/locale/*/*/*.mo |
pankso@401 | 50 chown -R root.root $fs |
pankso@11 | 51 } |