wok annotate expect/receipt @ rev 24313
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 21 10:59:24 2022 +0000 (2022-01-21) |
parents | 86790a278e70 |
children | 370da83187ab |
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 |
toronado@11698 | 17 # Rules to configure and make the package. |
toronado@11698 | 18 compile_rules() |
toronado@11698 | 19 { |
pascal@15145 | 20 ./configure $CONFIGURE_ARGS 2>&1 | grep -v /install-sh && |
Hans-G?nter@20901 | 21 make -j 1 && |
toronado@11698 | 22 make DESTDIR=$install install |
toronado@11698 | 23 } |
toronado@11698 | 24 |
toronado@11698 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
toronado@11698 | 26 genpkg_rules() |
toronado@11698 | 27 { |
toronado@11698 | 28 mkdir -p $fs/usr/bin \ |
Hans-G?nter@20901 | 29 $fs/usr/lib |
Hans-G?nter@20901 | 30 |
toronado@11698 | 31 cp -a $install/usr/bin/expect $fs/usr/bin |
toronado@11698 | 32 cp -a $install/usr/lib/* $fs/usr/lib |
toronado@11698 | 33 } |