wok view expect/receipt @ rev 21709
ccid: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 08 10:39:23 2019 +0200 (2019-06-08) |
parents | 86790a278e70 |
children | 370da83187ab |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS 2>&1 | grep -v /install-sh &&
21 make -j 1 &&
22 make DESTDIR=$install install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin \
29 $fs/usr/lib
31 cp -a $install/usr/bin/expect $fs/usr/bin
32 cp -a $install/usr/lib/* $fs/usr/lib
33 }