wok-6.x view slitaz-tools/receipt @ rev 13778
add terminus-font
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 04 02:57:00 2013 +0000 (2013-01-04) |
parents | 57ea159dc95e |
children | 8fd42c969f13 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="5.2"
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://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.gz"
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"
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 cd $src
35 # Fix for 5.1/5.2
36 sed -i s'/sv//' Makefile
37 # Fix for 5.2
38 sed -i 's/ install/ install/' Makefile
39 make && make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs
46 cp -a $install/* $fs
47 chmod 0644 $fs/usr/share/locale/*/*/*.mo
48 chown -R root.root $fs
49 }