wok-next view readline/receipt @ rev 18633

libmms: apply patch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 27 00:31:34 2015 +0200 (2015-11-27)
parents 2b9f96603415
children fa58eb98af1e
line source
1 # SliTaz package receipt.
3 PACKAGE="readline"
4 VERSION="6.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU readline."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS=""
15 BUILD_DEPENDS="ncursesw-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch
22 sed -i '/(MV)/d' Makefile*
23 ./configure $CONFIGURE_ARGS &&
24 make && make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }