wok-6.x annotate readline/receipt @ rev 17146

libmrss: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 10 13:04:01 2014 +0200 (2014-09-10)
parents 802ff9337f50
children 2507157b054d
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"
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
pascal@14253 21 sed -i '/(MV)/d' Makefile*
slaxemulator@10336 22 ./configure $CONFIGURE_ARGS &&
pankso@12810 23 make && make DESTDIR=$DESTDIR install
pankso@633 24 }
pankso@633 25
pankso@633 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@633 27 genpkg_rules()
pankso@633 28 {
pankso@633 29 mkdir -p $fs/usr/lib
pankso@12810 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@633 31 }
pankso@633 32