wok-current view slitaz-tools/receipt @ rev 16174

Up: cmake (2.8.12.2)
author Alexander Medvedev <devl547@gmail.com>
date Sun Mar 30 15:02:56 2014 +0000 (2014-03-30)
parents 4811eba71ad5
children c4d492f49d85
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="5.7"
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 }