wok annotate tazlito/receipt @ rev 19943
Up tazlito (453)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 06 08:28:45 2017 +0200 (2017-05-06) |
parents | faf865f8822c |
children | b97c2fa66dc7 |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazlito" |
pascal@19943 | 4 VERSION="453" |
pankso@211 | 5 CATEGORY="base-system" |
pankso@10 | 6 SHORT_DESC="SliTaz Live Tool." |
pascal@10945 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15021 | 8 LICENSE="GPL3" |
pankso@10 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@10 | 10 WEB_SITE="http://www.slitaz.org/" |
pascal@13990 | 11 WGET_URL="http://hg.slitaz.org/tazlito/archive/$VERSION.tar.gz" |
pascal@2089 | 12 CONFIG_FILES="/etc/tazlito/distro-packages.list" |
jozee@4973 | 13 TAGS="slitaz" |
pankso@10 | 14 |
pankso@12138 | 15 DEPENDS="lzma cdrkit" |
pascal@18015 | 16 SUGGESTED="tazpanel" |
pascal@15613 | 17 BUILD_DEPENDS="gettext" |
pankso@12138 | 18 |
pankso@12138 | 19 # Rules to configure and make the package. |
pankso@12138 | 20 compile_rules() |
pankso@12138 | 21 { |
pascal@19243 | 22 sed -i "s/^VERSION=.*/VERSION=$VERSION/" tazlito |
pascal@17427 | 23 make DESTDIR=$DESTDIR VERSION=$VERSION install |
pankso@12138 | 24 } |
pankso@12138 | 25 |
pankso@10 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10 | 27 genpkg_rules() |
pankso@10 | 28 { |
pankso@12138 | 29 mkdir -p $fs |
pankso@12138 | 30 cp -a $install/* $fs |
pankso@12138 | 31 chown -R root.root $fs |
pascal@693 | 32 # Declare /etc/tazlito/distro-packages.list |
pascal@693 | 33 touch $fs/etc/tazlito/distro-packages.list |
pankso@10 | 34 } |