wok annotate tcllib/receipt @ rev 24635
updated gutenprint and gutenprint-dev (5.3.3 -> 5.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 08:09:06 2022 +0100 (2022-03-09) |
parents | 21e04c6c20ff |
children | eb11103ba26e |
rev | line source |
---|---|
paul@3687 | 1 # SliTaz package receipt. |
paul@3687 | 2 |
paul@3687 | 3 PACKAGE="tcllib" |
Hans-G?nter@23691 | 4 VERSION="1.20" |
paul@3687 | 5 CATEGORY="development" |
paul@3687 | 6 SHORT_DESC="Tcl-only library of standard routines for Tcl." |
paul@3687 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15600 | 8 LICENSE="BSD" |
Hans-G?nter@22012 | 9 WEB_SITE="https://sourceforge.net/projects/tcllib/" |
Hans-G?nter@22012 | 10 |
paul@3687 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3687 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
paul@3687 | 13 |
pascal@15600 | 14 DEPENDS="tcl" |
pascal@15600 | 15 BUILD_DEPENDS="tcl" |
pascal@15600 | 16 |
Hans-G?nter@22012 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@22012 | 18 |
pascal@24340 | 19 # What is the latest version available today? |
pascal@24340 | 20 current_version() |
pascal@24340 | 21 { |
pascal@24340 | 22 wget -O - https://sourceforge.net/projects/tcllib/files/tcllib/ 2>/dev/null | \ |
pascal@24340 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24340 | 24 sed '/scope="row/!d;s|.*/tcllib/||;s|/.*||;q' |
pascal@24340 | 25 } |
pascal@24340 | 26 |
paul@3687 | 27 # Rules to configure and make the package. |
paul@3687 | 28 compile_rules() |
paul@3687 | 29 { |
Hans-G?nter@22012 | 30 ./configure \ |
Hans-G?nter@22012 | 31 --prefix=/usr \ |
paul@3687 | 32 $CONFIGURE_ARGS && |
pascal@15600 | 33 make DESTDIR=$DESTDIR install |
paul@3687 | 34 } |
paul@3687 | 35 |
paul@3687 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3687 | 37 genpkg_rules() |
paul@3687 | 38 { |
paul@3687 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22012 | 40 |
Hans-G?nter@22012 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22012 | 42 cp -a $install/usr/lib/* $fs/usr/lib |
paul@3687 | 43 } |