wok view rlwrap/receipt @ rev 12088
busybox: su should not chdir (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 09:31:50 2012 +0100 (2012-03-10) |
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 }