wok-next diff readline/receipt @ rev 19844
sakura -> sakura-gtk2; vte -> vte-gtk2; add sakura, vte; up gtk-engines, lxde, wpa_supplicant.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 25 15:45:11 2017 +0300 (2017-08-25) |
parents | 1a86cb99cbbf |
children | 90a5eb560fd6 |
line diff
1.1 --- a/readline/receipt Thu May 11 02:23:02 2017 +0300 1.2 +++ b/readline/receipt Fri Aug 25 15:45:11 2017 +0300 1.3 @@ -1,9 +1,9 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="readline" 1.8 -VERSION="6.3" 1.9 +VERSION="7.0" 1.10 CATEGORY="system-tools" 1.11 -SHORT_DESC="GNU readline." 1.12 +SHORT_DESC="GNU readline" 1.13 MAINTAINER="pankso@slitaz.org" 1.14 LICENSE="GPL3" 1.15 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" 1.16 @@ -12,8 +12,8 @@ 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="ncurses" 1.21 BUILD_DEPENDS="ncurses-dev flex" 1.22 +SPLIT="readline-dev" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 @@ -22,20 +22,35 @@ 1.27 arm*) export bash_cv_wcwidth_broken=true ;; 1.28 esac 1.29 1.30 - patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch 1.31 sed -i '/MV.*old/d' Makefile.in 1.32 sed -i '/{OLDSUFF}/c:' support/shlib-install 1.33 1.34 ./configure \ 1.35 --disable-static \ 1.36 + --libdir=/lib \ 1.37 --docdir=/usr/share/doc/readline-$VERSION \ 1.38 $CONFIGURE_ARGS && 1.39 make SHLIB_LIBS=-lncurses && 1.40 make DESTDIR=$install install 1.41 + 1.42 + # *.so.* -> /lib 1.43 + # *.so -> /usr/lib 1.44 + mkdir -p $install/usr/lib 1.45 + ln -sfv ../../lib/$(readlink $install/lib/libreadline.so) \ 1.46 + $install/usr/lib/libreadline.so 1.47 + ln -sfv ../../lib/$(readlink $install/lib/libhistory.so ) \ 1.48 + $install/usr/lib/libhistory.so 1.49 + rm $install/lib/*.so 1.50 + 1.51 + # install the documentation 1.52 + cp doc/*.pdf doc/*.html $install/usr/share/doc/readline-7.0 1.53 } 1.54 1.55 # Rules to gen a SliTaz package suitable for Tazpkg. 1.56 genpkg_rules() 1.57 { 1.58 - copy @std 1.59 + case $PACKAGE in 1.60 + readline) copy @std; DEPENDS="ncurses";; 1.61 + *-dev) copy @dev;; 1.62 + esac 1.63 }