wok-current annotate tazlito/receipt @ rev 17035
slitaz-configs-base: use chroot in post_install()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 18 08:45:31 2014 +0000 (2014-08-18) |
parents | 76e26408ec90 |
children | e984520e54db |
rev | line source |
---|---|
pankso@10 | 1 # SliTaz package receipt. |
pankso@10 | 2 |
pankso@10 | 3 PACKAGE="tazlito" |
psychomaniak@16828 | 4 VERSION="5.2.4" |
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@15613 | 16 BUILD_DEPENDS="gettext" |
pankso@12138 | 17 |
pankso@12138 | 18 # Rules to configure and make the package. |
pankso@12138 | 19 compile_rules() |
pankso@12138 | 20 { |
pankso@12138 | 21 cd $src |
pankso@12138 | 22 make DESTDIR=$DESTDIR install |
pankso@12138 | 23 } |
pankso@12138 | 24 |
pankso@10 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10 | 26 genpkg_rules() |
pankso@10 | 27 { |
pankso@12138 | 28 mkdir -p $fs |
pankso@12138 | 29 cp -a $install/* $fs |
pankso@12138 | 30 chown -R root.root $fs |
pascal@693 | 31 # Declare /etc/tazlito/distro-packages.list |
pascal@693 | 32 touch $fs/etc/tazlito/distro-packages.list |
pankso@10 | 33 } |