wok-current annotate slitaz-tools/receipt @ rev 14702
perl, rrdtool: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 07 18:46:07 2013 +0200 (2013-06-07) |
parents | 8a3d7e2b6adb |
children | 727f65a6191b |
rev | line source |
---|---|
pankso@11 | 1 # SliTaz package receipt. |
pankso@11 | 2 |
pankso@11 | 3 PACKAGE="slitaz-tools" |
domcox@14059 | 4 VERSION="5.3" |
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" |
pankso@2094 | 8 SUGGESTED="slitaz-tools-boxes" |
gokhlayeh@8012 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@11 | 10 WEB_SITE="http://www.slitaz.org/" |
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 |
pankso@12882 | 14 DEPENDS="slitaz-boot-scripts dialog gettext-base slitaz-configs-base" |
pankso@12882 | 15 BUILD_DEPENDS="gettext" |
pankso@12882 | 16 |
pankso@12882 | 17 # Handle multiarch compilation. |
pankso@12882 | 18 case "$ARCH" in |
pankso@12882 | 19 arm) |
pankso@12882 | 20 DEPENDS="slitaz-boot-scripts dialog gettext-base" |
pankso@12882 | 21 BUILD_DEPENDS="" ;; |
pankso@12882 | 22 esac |
pankso@12882 | 23 |
pankso@12882 | 24 # Saved config file by package manager |
pascal@1212 | 25 CONFIG_FILES=" |
pascal@1212 | 26 /etc/TZ |
pascal@1212 | 27 /etc/keymap.conf |
pascal@1212 | 28 /etc/locale.conf |
slaxemulator@13650 | 29 /etc/firewall.conf" |
pankso@11 | 30 |
pankso@5126 | 31 # Rules to configure and make the package. |
pankso@5126 | 32 compile_rules() |
pankso@5126 | 33 { |
pankso@5126 | 34 cd $src |
pankso@10789 | 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 } |