wok-6.x view slitaz-tools/receipt @ rev 18528

Up nvidia-173xx
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue Oct 27 06:19:41 2015 +0100 (2015-10-27)
parents a81e49dbaf30
children 5ada123a62a4
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="949"
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 }