wok annotate slitaz-tools/receipt @ rev 18898

slitaz-boot-scripts (424), slitaz-tools (966), tazpanel (567), tazusb (184)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 17 11:45:28 2016 +0100 (2016-02-17)
parents 984e868bf32b
children 48c1bca1b618
rev   line source
pankso@11 1 # SliTaz package receipt.
pankso@11 2
pankso@11 3 PACKAGE="slitaz-tools"
pascal@18898 4 VERSION="966"
pankso@194 5 CATEGORY="system-tools"
psychomaniak@17176 6 SHORT_DESC="SliTaz tools provide installer and utils usable on terminal."
pankso@11 7 MAINTAINER="pankso@slitaz.org"
pascal@15021 8 LICENSE="GPL3"
al@14803 9 WEB_SITE="http://www.slitaz.org/"
psychomaniak@17177 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
psychomaniak@17177 11 WGET_URL="http://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.bz2"
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 # Saved config file by package manager
pascal@1212 19 CONFIG_FILES="
pascal@1212 20 /etc/TZ
pascal@1212 21 /etc/keymap.conf
pascal@1212 22 /etc/locale.conf
slaxemulator@13650 23 /etc/firewall.conf"
pankso@11 24
pankso@5126 25 # Rules to configure and make the package.
pankso@5126 26 compile_rules()
pankso@5126 27 {
pankso@16442 28 mkdir -p $DESTDIR/usr/share
al@14803 29 make && make DESTDIR=$DESTDIR install
pankso@5126 30 }
pankso@5126 31
pankso@11 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11 33 genpkg_rules()
pankso@11 34 {
pankso@10789 35 mkdir -p $fs
pankso@10789 36 cp -a $install/* $fs
psychomaniak@18164 37 sed 's|sakura)|&\n\t\tTERMINAL="sakura --sync"|' -i $fs/usr/bin/terminal
pankso@10859 38 chmod 0644 $fs/usr/share/locale/*/*/*.mo
al@18599 39 touch $fs/etc/firewall.conf
pankso@401 40 chown -R root.root $fs
pankso@11 41 }