wok-next annotate readline/receipt @ rev 17839
Add ijs
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Mar 23 17:00:05 2015 -0400 (2015-03-23) |
parents | 2b9f96603415 |
children | fa58eb98af1e |
rev | line source |
---|---|
pankso@633 | 1 # SliTaz package receipt. |
pankso@633 | 2 |
pankso@633 | 3 PACKAGE="readline" |
devl547@17610 | 4 VERSION="6.3" |
pankso@633 | 5 CATEGORY="system-tools" |
pankso@633 | 6 SHORT_DESC="GNU readline." |
pankso@633 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@633 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@633 | 10 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" |
pascal@1468 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@12810 | 12 HOST_ARCH="i486 arm" |
pankso@633 | 13 |
pascal@14252 | 14 DEPENDS="" |
pankso@12810 | 15 BUILD_DEPENDS="ncursesw-dev" |
slaxemulator@10336 | 16 |
pankso@633 | 17 # Rules to configure and make the package. |
pankso@633 | 18 compile_rules() |
pankso@633 | 19 { |
pankso@633 | 20 cd $src |
devl547@17610 | 21 patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch |
pascal@14253 | 22 sed -i '/(MV)/d' Makefile* |
slaxemulator@10336 | 23 ./configure $CONFIGURE_ARGS && |
pankso@12810 | 24 make && make DESTDIR=$DESTDIR install |
pankso@633 | 25 } |
pankso@633 | 26 |
pankso@633 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@633 | 28 genpkg_rules() |
pankso@633 | 29 { |
pankso@633 | 30 mkdir -p $fs/usr/lib |
pankso@12810 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@633 | 32 } |
pankso@633 | 33 |