wok annotate tazdrop/receipt @ rev 24133
Up tazinst (115)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 23 15:17:56 2021 +0000 (2021-10-23) |
parents | f7a13af08fc7 |
children |
rev | line source |
---|---|
pankso@9615 | 1 # SliTaz package receipt. |
pankso@9615 | 2 |
pankso@9615 | 3 PACKAGE="tazdrop" |
pascal@21772 | 4 VERSION="1030" |
pankso@9615 | 5 CATEGORY="office" |
pankso@9615 | 6 SHORT_DESC="SliTaz desktop Drag N' Drop tool" |
pankso@9615 | 7 MAINTAINER="pankso@slitaz.org" |
al@14905 | 8 LICENSE="GPL3" |
al@14905 | 9 WEB_SITE="http://www.slitaz.org/" |
slaxemulator@10734 | 10 SOURCE="slitaz-tools" |
slaxemulator@10734 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14806 | 12 WGET_URL="http://hg.slitaz.org/$SOURCE/archive/$VERSION.tar.gz" |
pankso@9615 | 13 |
al@14905 | 14 DEPENDS="gtk+ yad" |
al@19617 | 15 SIBLINGS="slitaz-tools slitaz-tools-boxes" |
al@14905 | 16 |
pascal@24069 | 17 current_version() |
pascal@24069 | 18 { |
pascal@24069 | 19 wget -O - http://hg.slitaz.org/slitaz-tools/ 2>/dev/null | \ |
pascal@24069 | 20 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-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@9615 | 24 # Rules to configure and make the package. |
pankso@9615 | 25 compile_rules() |
pankso@9615 | 26 { |
al@14905 | 27 make msgfmt |
pankso@9615 | 28 cd $src/tazdrop |
slaxemulator@10734 | 29 make DESTDIR=$DESTDIR install |
pankso@9615 | 30 } |
pankso@9615 | 31 |
pankso@9615 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9615 | 33 genpkg_rules() |
pankso@9615 | 34 { |
pankso@9615 | 35 mkdir -p $fs |
slaxemulator@10734 | 36 cp -a $install/* $fs |
pankso@9615 | 37 } |