wok-next annotate tazdev/receipt @ rev 9402
git: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 27 16:56:58 2011 +0200 (2011-03-27) |
parents | cb3439e8e4d8 |
children | a55dc7180253 |
rev | line source |
---|---|
pankso@8831 | 1 # SliTaz package receipt |
pankso@8831 | 2 |
pankso@8831 | 3 PACKAGE="tazdev" |
slaxemulator@9242 | 4 VERSION="1.0.5" |
pankso@8831 | 5 CATEGORY="development" |
pankso@8831 | 6 SHORT_DESC="SliTaz developers tools." |
pankso@8831 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@8831 | 8 DEPENDS="rsync" |
pankso@8831 | 9 BUILD_DEPENDS="mercurial" |
pankso@8831 | 10 SOURCE="slitaz-dev-tools" |
pankso@8833 | 11 WGET_URL="mercurial|http://hg.slitaz.org/slitaz-dev-tools" |
pankso@8833 | 12 BRANCH="$VERSION" |
pankso@8831 | 13 WEB_SITE="http://www.slitaz.org/" |
pankso@8831 | 14 |
pankso@8831 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8831 | 16 genpkg_rules() |
pankso@8831 | 17 { |
pankso@8831 | 18 mkdir -p $fs/etc/slitaz $fs/usr/bin |
slaxemulator@8834 | 19 cp -a $src/$PACKAGE/tazdev $fs/usr/bin |
slaxemulator@8834 | 20 cp -a $src/$PACKAGE/tazdev.conf $fs/etc/slitaz |
pankso@8831 | 21 chown -R root.root $fs |
pankso@8831 | 22 } |