wok-6.x view slitaz-tools/receipt @ rev 18675
syslinux/taziso: get custom config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 06 10:57:10 2015 +0100 (2015-12-06) |
parents | 2c5f5deee741 |
children | 962c4700fe2b |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="961"
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 }