wok-6.x annotate tazdev/receipt @ rev 24110

rdesktop: add debian patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 10:48:56 2021 +0000 (2021-09-28)
parents 1dce8e8602f2
children
rev   line source
pankso@8831 1 # SliTaz package receipt
pankso@8831 2
pankso@8831 3 PACKAGE="tazdev"
pascal@19414 4 VERSION="258"
pankso@8831 5 CATEGORY="development"
pankso@8831 6 SHORT_DESC="SliTaz developers tools."
pankso@8831 7 MAINTAINER="pankso@slitaz.org"
pascal@15363 8 LICENSE="BSD"
pankso@8831 9 SOURCE="slitaz-dev-tools"
pankso@9722 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
slaxemulator@10728 11 WGET_URL="http://hg.slitaz.org/slitaz-dev-tools/archive/$VERSION.tar.bz2"
pankso@8831 12 WEB_SITE="http://www.slitaz.org/"
pankso@16037 13 HOST_ARCH="i486 arm"
pankso@8831 14
pankso@9722 15 DEPENDS="rsync"
pankso@9722 16
pascal@24069 17 current_version()
pascal@24069 18 {
pascal@24069 19 wget -O - http://hg.slitaz.org/slitaz-dev-tools/ 2>/dev/null | \
pascal@24069 20 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-dev-tools/rev/|;s|<.*||' | \
pascal@24069 21 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
pascal@24069 22 }
pascal@24069 23
pankso@8831 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8831 25 genpkg_rules()
pankso@8831 26 {
pankso@8831 27 mkdir -p $fs/etc/slitaz $fs/usr/bin
slaxemulator@8834 28 cp -a $src/$PACKAGE/tazdev $fs/usr/bin
slaxemulator@8834 29 cp -a $src/$PACKAGE/tazdev.conf $fs/etc/slitaz
pankso@8831 30 chown -R root.root $fs
pankso@8831 31 }