wok-6.x annotate tazlito/receipt @ rev 21120
mate-common: automake-1.16 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 21:46:06 2019 +0100 (2019-03-19) |
parents | 6135577f4d08 |
children | a01ff9505078 |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazlito" |
pascal@20679 | 4 VERSION="513" |
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@20682 | 12 CONFIG_FILES="/etc/tazlito" |
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@20682 | 32 # Declare /etc/tazlito/distro-packages.list & /etc/tazlito/tazlito.conf |
pascal@20682 | 33 touch $fs/etc/tazlito/tazlito.conf |
pascal@693 | 34 touch $fs/etc/tazlito/distro-packages.list |
pankso@10 | 35 } |