wok view slitaz-tools/receipt @ rev 13647

Up: enlightenment (0.17.0-alpha2)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Nov 16 00:32:02 2012 +0100 (2012-11-16)
parents f6382af837a6
children 68b1fa2931b0
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="5.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz tools provide installer and utils usable on termnial."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="slitaz-tools-boxes"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://mirror.slitaz.org/sources/tools/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="slitaz-boot-scripts dialog gettext-base slitaz-configs-base"
15 BUILD_DEPENDS="gettext"
17 # Handle multiarch compilation.
18 case "$ARCH" in
19 arm)
20 DEPENDS="slitaz-boot-scripts dialog gettext-base"
21 BUILD_DEPENDS="" ;;
22 esac
24 # Saved config file by package manager
25 CONFIG_FILES="
26 /etc/TZ
27 /etc/keymap.conf
28 /etc/locale.conf
29 /etc/firewall.conf
30 /etc/slitaz/applications.conf"
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 cd $src
36 # Fix for 5.1
37 sed -i s'/sv//' Makefile
38 make && make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs
45 cp -a $install/* $fs
46 chmod 0644 $fs/usr/share/locale/*/*/*.mo
47 chown -R root.root $fs
48 }