wok view expect/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 9a7bd10c8942
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="expect"
4 VERSION="5.45.4"
5 CATEGORY="utilities"
6 SHORT_DESC="A tool for automating interactive applications."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://expect.sourceforge.net"
11 TARBALL="$PACKAGE$VERSION.tar.gz"
12 WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/Expect/$VERSION/$TARBALL"
14 DEPENDS="tcl"
15 BUILD_DEPENDS="tcl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/expect/files/Expect/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/Expect/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS 2>&1 | grep -v /install-sh &&
29 make -j 1 &&
30 make DESTDIR=$install install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin \
37 $fs/usr/lib
39 cp -a $install/usr/bin/expect $fs/usr/bin
40 cp -a $install/usr/lib/* $fs/usr/lib
41 }