wok-6.x view slitaz-tools/receipt @ rev 18988
Up: Not necessary depends. Use only busybox.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Mar 17 05:25:08 2016 -0300 (2016-03-17) |
parents | 984e868bf32b |
children | 48c1bca1b618 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="966"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz tools provide installer and utils usable on terminal."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://hg.slitaz.org/slitaz-tools/archive/$VERSION.tar.bz2"
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 # Saved config file by package manager
19 CONFIG_FILES="
20 /etc/TZ
21 /etc/keymap.conf
22 /etc/locale.conf
23 /etc/firewall.conf"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $DESTDIR/usr/share
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs
36 cp -a $install/* $fs
37 sed 's|sakura)|&\n\t\tTERMINAL="sakura --sync"|' -i $fs/usr/bin/terminal
38 chmod 0644 $fs/usr/share/locale/*/*/*.mo
39 touch $fs/etc/firewall.conf
40 chown -R root.root $fs
41 }