wok-6.x view rlwrap/receipt @ rev 12262

Up: gmp (5.0.4) First new pkg used by new toolchain
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 11 17:36:00 2012 +0200 (2012-04-11)
parents
children 3b4e4318134e
line source
1 # SliTaz package receipt.
3 PACKAGE="rlwrap"
4 VERSION="0.37"
5 CATEGORY="misc"
6 SHORT_DESC="Input history wrapper using GNU readline."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
10 WGET_URL="${WEB_SITE}$TARBALL"
12 BUILD_DEPENDS="readline-dev ncurses-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --localstatedir=/var \
20 $CONFIGURE_ARGS &&
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/share/rlwrap $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 }