wok-6.x annotate tazlito/receipt @ rev 19243
tazlito: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 12:46:13 2016 +0200 (2016-06-28) |
parents | 1e155268c3d0 |
children | 07880f53b26e |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazlito" |
pascal@19242 | 4 VERSION="426" |
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 } |