wok-current view tcllib/receipt @ rev 24836
updated libtasn1 and libtasn1-dev (4.16.0 -> 4.18.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 07:25:04 2022 +0100 (2022-03-25) |
parents | 21e04c6c20ff |
children | eb11103ba26e |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcllib"
4 VERSION="1.20"
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 DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/* $fs/usr/lib
43 }