wok view readline/receipt @ rev 8211

imported patch toolchain/readline.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 6e313539dd63
children 5740040c75b8
line source
1 # SliTaz package receipt.
3 PACKAGE="readline"
4 VERSION="6.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU readline."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure &&
19 make &&
21 # readline make install ignore DESTDIR environnment variable.
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }