wok-6.x view slitaz-tools/receipt @ rev 18244
Up: slitaz-tools(948)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 31 17:24:37 2015 +0300 (2015-07-31) |
parents | 86b35694374e |
children | 382ba06d6fd8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="948"
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 chown -R root.root $fs
40 }