wok-current annotate expect/receipt @ rev 24395
created recipe for py3k-distutils-extra
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 10:23:22 2022 +0100 (2022-02-08) |
parents | 9a7bd10c8942 |
children | b0069c845544 |
rev | line source |
---|---|
toronado@11698 | 1 # SliTaz package receipt. |
toronado@11698 | 2 |
toronado@11698 | 3 PACKAGE="expect" |
Hans-G?nter@20901 | 4 VERSION="5.45.4" |
toronado@11698 | 5 CATEGORY="utilities" |
toronado@11698 | 6 SHORT_DESC="A tool for automating interactive applications." |
toronado@11698 | 7 MAINTAINER="samuel_trassare@yahoo.com" |
pascal@15588 | 8 LICENSE="PublicDomain" |
toronado@11698 | 9 WEB_SITE="http://expect.sourceforge.net" |
Hans-G?nter@20901 | 10 |
toronado@11698 | 11 TARBALL="$PACKAGE$VERSION.tar.gz" |
pascal@20421 | 12 WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/Expect/$VERSION/$TARBALL" |
toronado@11698 | 13 |
toronado@11698 | 14 DEPENDS="tcl" |
toronado@11698 | 15 BUILD_DEPENDS="tcl-dev" |
toronado@11698 | 16 |
pascal@24361 | 17 # What is the latest version available today? |
pascal@24361 | 18 current_version() |
pascal@24361 | 19 { |
pascal@24361 | 20 wget -O - https://sourceforge.net/projects/expect/files/Expect/ 2>/dev/null | \ |
pascal@24361 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24361 | 22 sed '/scope="row/!d;s|.*/Expect/||;s|/.*||;q' |
pascal@24361 | 23 } |
pascal@24361 | 24 |
toronado@11698 | 25 # Rules to configure and make the package. |
toronado@11698 | 26 compile_rules() |
toronado@11698 | 27 { |
pascal@15145 | 28 ./configure $CONFIGURE_ARGS 2>&1 | grep -v /install-sh && |
Hans-G?nter@20901 | 29 make -j 1 && |
toronado@11698 | 30 make DESTDIR=$install install |
toronado@11698 | 31 } |
toronado@11698 | 32 |
toronado@11698 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
toronado@11698 | 34 genpkg_rules() |
toronado@11698 | 35 { |
toronado@11698 | 36 mkdir -p $fs/usr/bin \ |
Hans-G?nter@20901 | 37 $fs/usr/lib |
Hans-G?nter@20901 | 38 |
toronado@11698 | 39 cp -a $install/usr/bin/expect $fs/usr/bin |
toronado@11698 | 40 cp -a $install/usr/lib/* $fs/usr/lib |
toronado@11698 | 41 } |