wok view slitaz-tools/receipt @ rev 15700

wbar2:Fixconfig (again)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Dec 22 15:10:14 2013 +0100 (2013-12-22)
parents 727f65a6191b
children 71a23204c33e
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="5.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz tools provide installer and utils usable on termnial."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.gz"
12 HOST_ARCH="i486 arm"
14 SUGGESTED="slitaz-tools-boxes"
15 DEPENDS="slitaz-boot-scripts dialog gettext-base slitaz-configs-base"
16 BUILD_DEPENDS="gettext"
18 # Handle multiarch compilation.
19 case "$ARCH" in
20 arm)
21 DEPENDS="slitaz-boot-scripts dialog gettext-base"
22 BUILD_DEPENDS="" ;;
23 esac
25 # Saved config file by package manager
26 CONFIG_FILES="
27 /etc/TZ
28 /etc/keymap.conf
29 /etc/locale.conf
30 /etc/firewall.conf"
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 make && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs
42 cp -a $install/* $fs
43 chmod 0644 $fs/usr/share/locale/*/*/*.mo
44 chown -R root.root $fs
45 }