wok-current view tcllib/receipt @ rev 25458

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 27 16:21:52 2022 +0000 (2022-09-27)
parents eb11103ba26e
children 2d4208bebf51
line source
1 # SliTaz package receipt.
3 PACKAGE="tcllib"
4 VERSION="1.21"
5 CATEGORY="development"
6 SHORT_DESC="Tcl-only library of standard routines for Tcl."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://sourceforge.net/projects/tcllib"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="tcl"
15 BUILD_DEPENDS="tcl"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/tcllib/files/tcllib/ 2>/dev/null | \
23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
24 sed '/scope="row/!d;s|.*/tcllib/||;s|/.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_folders bin
40 cook_copy_folders lib
41 }