wok-current annotate tazirc/receipt @ rev 25524
created recipes for tree-sitter and tree-sitter-dev 0.20.7
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:21:52 2023 +0100 (18 months ago) |
parents | ab43b9f8e081 |
children |
rev | line source |
---|---|
pankso@15962 | 1 # SliTaz package receipt. |
pankso@15962 | 2 |
pankso@15962 | 3 PACKAGE="tazirc" |
pascal@20119 | 4 VERSION="22" |
pankso@15962 | 5 CATEGORY="network" |
pankso@15962 | 6 SHORT_DESC="SliTaz IRC Client and Log Bot." |
pankso@15962 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15962 | 8 LICENSE="BSD" |
pankso@15962 | 9 WEB_SITE="http://www.slitaz.org/" |
al@19617 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19617 | 11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2" |
pankso@15962 | 12 HOST_ARCH="i486 arm" |
pankso@15962 | 13 |
pascal@24069 | 14 current_version() |
pascal@24069 | 15 { |
pascal@24069 | 16 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ |
pascal@24069 | 17 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ |
pascal@24069 | 18 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24069 | 19 } |
pascal@24069 | 20 |
pankso@15962 | 21 # Rules to configure and make the package. |
pankso@15962 | 22 compile_rules() |
pankso@15962 | 23 { |
pankso@15962 | 24 make && make DESTDIR=$install install |
pankso@15962 | 25 } |
pankso@15962 | 26 |
pankso@15962 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15962 | 28 genpkg_rules() |
pankso@15962 | 29 { |
pankso@15962 | 30 mkdir -p $fs |
pankso@15962 | 31 cp -a $install/* $fs |
pankso@15962 | 32 } |