wok view rlwrap/receipt @ rev 18670
taziso, iso2exe.sh: add custom config support ; awstat-hotspot, awesome, avant-window-navigator: update pre/post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 04 21:23:22 2015 +0100 (2015-12-04) |
parents | 3b4e4318134e |
children | 8dd8bab3f0ca |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 BUILD_DEPENDS="readline-dev ncurses-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 export LDFLAGS="$LDFLAGS -ltinfo"
19 ./configure --prefix=/usr \
20 --localstatedir=/var \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $install/usr/share/rlwrap $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 }