wok view readline/receipt @ rev 14253
readline: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 25 16:15:46 2013 +0100 (2013-03-25) |
parents | 06a82d57ccf7 |
children | 2b9f96603415 |
line source
1 # SliTaz package receipt.
3 PACKAGE="readline"
4 VERSION="6.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU readline."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 HOST_ARCH="i486 arm"
13 DEPENDS=""
14 BUILD_DEPENDS="ncursesw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i '/(MV)/d' Makefile*
21 ./configure $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/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }