wok-current view tazlito/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
parents | 7e911016a644 |
children | 7d48eab9ceeb |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazlito"
4 VERSION="531"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz Live Tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://hg.slitaz.org/tazlito/archive/$VERSION.tar.gz"
12 CONFIG_FILES="/etc/tazlito"
13 TAGS="slitaz"
15 DEPENDS="lzma cdrkit"
16 SUGGESTED="tazpanel"
17 BUILD_DEPENDS="gettext"
19 current_version()
20 {
21 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
22 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
23 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i "s/^VERSION=.*/VERSION=$VERSION/" tazlito
30 make DESTDIR=$DESTDIR VERSION=$VERSION install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs
37 cp -a $install/* $fs
38 chown -R root.root $fs
39 chmod 755 $fs/usr/bin/tazlito*
40 sed 's|.*boot/grub|#&|' $fs/usr/bin/tazlito* # keep splash.xpm.gz for tazinst
41 # Declare /etc/tazlito/distro-packages.list & /etc/tazlito/tazlito.conf
42 touch $fs/etc/tazlito/tazlito.conf
43 touch $fs/etc/tazlito/distro-packages.list
44 }