wok-current view slitaz-tools/receipt @ rev 24329
updated at (3.1.23 -> 3.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 14:44:44 2022 +0100 (2022-01-27) |
parents | 7e911016a644 |
children | 3ad63c8fc2f9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-tools"
4 VERSION="1037"
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"
17 SIBLINGS="slitaz-tools-boxes tazdrop"
19 # Saved config file by package manager
20 CONFIG_FILES="
21 /etc/TZ
22 /etc/keymap.conf
23 /etc/locale.conf
24 /etc/slitaz/firewall.conf"
26 current_version()
27 {
28 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
29 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
30 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 mkdir -p $DESTDIR/usr/share
37 make && make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs
44 cp -a $install/* $fs
45 chmod 0644 $fs/usr/share/locale/*/*/*.mo
46 chown -R root.root $fs
47 }