wok annotate 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 |
rev | line source |
---|---|
pankso@633 | 1 # SliTaz package receipt. |
pankso@633 | 2 |
pankso@633 | 3 PACKAGE="readline" |
slaxemulator@8719 | 4 VERSION="6.2" |
pankso@633 | 5 CATEGORY="system-tools" |
pankso@633 | 6 SHORT_DESC="GNU readline." |
pankso@633 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@633 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@633 | 9 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" |
pascal@1468 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@12810 | 11 HOST_ARCH="i486 arm" |
pankso@633 | 12 |
pascal@14252 | 13 DEPENDS="" |
pankso@12810 | 14 BUILD_DEPENDS="ncursesw-dev" |
slaxemulator@10336 | 15 |
pankso@633 | 16 # Rules to configure and make the package. |
pankso@633 | 17 compile_rules() |
pankso@633 | 18 { |
pankso@633 | 19 cd $src |
pascal@14253 | 20 sed -i '/(MV)/d' Makefile* |
slaxemulator@10336 | 21 ./configure $CONFIGURE_ARGS && |
pankso@12810 | 22 make && make DESTDIR=$DESTDIR install |
pankso@633 | 23 } |
pankso@633 | 24 |
pankso@633 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@633 | 26 genpkg_rules() |
pankso@633 | 27 { |
pankso@633 | 28 mkdir -p $fs/usr/lib |
pankso@12810 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@633 | 30 } |
pankso@633 | 31 |