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

Up: slitaz-configs to 5.1.1. I made sure applications.conf was added.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 18 18:16:33 2012 +0000 (2012-11-18)
parents 717938b0ed14
children 57ea159dc95e
rev   line source
pankso@11 1 # SliTaz package receipt.
pankso@11 2
pankso@11 3 PACKAGE="slitaz-tools"
pankso@13629 4 VERSION="5.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"
pankso@2094 8 SUGGESTED="slitaz-tools-boxes"
gokhlayeh@8012 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@11 10 WEB_SITE="http://www.slitaz.org/"
gokhlayeh@8012 11 WGET_URL="http://mirror.slitaz.org/sources/tools/$TARBALL"
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@13629 35 # Fix for 5.1
pankso@13629 36 sed -i s'/sv//' Makefile
pankso@10789 37 make && make DESTDIR=$DESTDIR install
pankso@5126 38 }
pankso@5126 39
pankso@11 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11 41 genpkg_rules()
pankso@11 42 {
pankso@10789 43 mkdir -p $fs
pankso@10789 44 cp -a $install/* $fs
pankso@10859 45 chmod 0644 $fs/usr/share/locale/*/*/*.mo
pankso@401 46 chown -R root.root $fs
pankso@11 47 }