wok-current view tazirc/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents ab43b9f8e081
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tazirc"
4 VERSION="22"
5 CATEGORY="network"
6 SHORT_DESC="SliTaz IRC Client and Log Bot."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.slitaz.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.bz2"
12 HOST_ARCH="i486 arm"
14 current_version()
15 {
16 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
17 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
18 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make && make DESTDIR=$install install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs
31 cp -a $install/* $fs
32 }