wok view tcllib/receipt @ rev 25716

xfce4-session: inserted mkdir $fs/sbin
author Hans-G?nter Theisgen
date Thu Aug 15 08:40:06 2024 +0100 (3 months ago)
parents 2d4208bebf51
children
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|.*a href="|"https://sourceforge.net|;s| .*||;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 }