wok-current view slitaz-tools/receipt @ rev 25652

Fix get-texlive for 2008 version, add collection-latex
author Stanislas Leduc <shann@slitaz.org>
date Wed Feb 07 18:01:05 2024 +0000 (10 months ago)
parents db9d9cb3c164
children 5926178cd6fa
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 # Patch for sakura 3.x
37 patch -p1 < $stuff/sakura-workaround.patch
39 mkdir -p $DESTDIR/usr/share
40 make && make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs
47 cp -a $install/* $fs
48 chmod 0644 $fs/usr/share/locale/*/*/*.mo
49 chown -R root.root $fs
50 }