wok view expect/receipt @ rev 25551
nfs-utils: make nfsd work on first start too
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 06 10:52:37 2023 +0100 (19 months ago) |
parents | 370da83187ab |
children | 6b33f9da53d4 |
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="https://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 }