wok-next annotate slitaz-tools/receipt @ rev 15912

Up: slitaz-tools (5.6) - Bunch of fixes and new tools
author Christophe Lincoln <pankso@slitaz.org>
date Sat Feb 15 13:29:25 2014 +0100 (2014-02-15)
parents ba7ff7d80b44
children f1ca3c4c22dd
rev   line source
pankso@11 1 # SliTaz package receipt.
pankso@11 2
pankso@11 3 PACKAGE="slitaz-tools"
pankso@15912 4 VERSION="5.6"
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 }