wok-6.x annotate slitaz-tools/receipt @ rev 15092
python-pyyaml: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 21:49:25 2013 +0000 (2013-08-13) |
parents | 727f65a6191b |
children | 71a23204c33e |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
al@14803 | 4 VERSION="5.4" |
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 { |
al@14803 | 35 make && make DESTDIR=$DESTDIR install |
pankso@5126 | 36 } |
pankso@5126 | 37 |
pankso@11 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@11 | 39 genpkg_rules() |
pankso@11 | 40 { |
pankso@10789 | 41 mkdir -p $fs |
pankso@10789 | 42 cp -a $install/* $fs |
pankso@10859 | 43 chmod 0644 $fs/usr/share/locale/*/*/*.mo |
pankso@401 | 44 chown -R root.root $fs |
pankso@11 | 45 } |