wok-next view readline/receipt @ rev 21229
updated clamav (0.99.4 -> 0.101.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 16:54:38 2019 +0100 (2019-12-03) |
parents | d457c4e37c1b |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="readline"
4 VERSION="7.0p5"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU readline"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/readline/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/readline.html"
12 TARBALL="$PACKAGE-${VERSION%p*}.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="ncurses-dev flex"
16 SPLIT="$PACKAGE-dev"
18 DEPENDS_std="ncurses"
19 TAGS_std="LFS"
21 compile_rules() {
22 sed -i '/MV.*old/d' Makefile.in
23 sed -i '/{OLDSUFF}/c:' support/shlib-install
25 ./configure \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make SHLIB_LIBS="-lncursesw" &&
29 make SHLIB_LIBS="-lncurses" DESTDIR=$install install || return 1
31 mkdir -p $install/lib
32 for i in readline history; do
33 mv -v $install/usr/lib/lib$i.so.* $install/lib
34 ln -sf ../../lib/$(readlink $install/usr/lib/lib$i.so) \
35 $install/usr/lib/lib$i.so
36 done
38 find $install -type f -name '*.so*' -exec chmod 755 '{}' \;
39 rmdir --ignore-fail-on-non-empty $install/usr/bin/
41 # install the documentation
42 cook_pick_docs doc/*.pdf doc/*.html
43 }