readline: update to 8.0.0.
This commit is contained in:
parent
61bd6d2c8c
commit
ddce40b3f0
3 changed files with 8 additions and 68 deletions
|
@ -1,11 +0,0 @@
|
||||||
--- support/shlib-install.orig 2013-03-26 02:48:09.724069139 +0400
|
|
||||||
+++ support/shlib-install 2013-03-26 02:48:19.530946536 +0400
|
|
||||||
@@ -72,7 +72,7 @@
|
|
||||||
case "$host_os" in
|
|
||||||
hpux*|darwin*|macosx*|linux*)
|
|
||||||
if [ -z "$uninstall" ]; then
|
|
||||||
- chmod 555 ${INSTALLDIR}/${LIBNAME}
|
|
||||||
+ chmod 644 ${INSTALLDIR}/${LIBNAME}
|
|
||||||
fi ;;
|
|
||||||
cygwin*|mingw*)
|
|
||||||
IMPLIBNAME=`echo ${LIBNAME} \
|
|
|
@ -1,56 +1,10 @@
|
||||||
# Template file for 'readline'
|
# Template file for 'readline'
|
||||||
pkgname=readline
|
pkgname=readline
|
||||||
_dist_ver=7.0
|
version=8.0.0
|
||||||
_patch_ver=005
|
revision=1
|
||||||
version="${_dist_ver}.${_patch_ver}"
|
build_style=meta
|
||||||
revision=2
|
depends="libreadline8 libhistory8"
|
||||||
bootstrap=yes
|
short_desc="Readline meta package"
|
||||||
wrksrc="${pkgname}-${_dist_ver}"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
build_style=gnu-configure
|
license="Public Domain"
|
||||||
configure_args="--with-curses --enable-multibyte"
|
homepage="https://www.voidlinux.org"
|
||||||
makedepends="ncurses-devel"
|
|
||||||
short_desc="The GNU Readline Library"
|
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
||||||
license="GPL-3.0-or-later"
|
|
||||||
homepage="https://tiswww.cwru.edu/php/chet/readline/rltop.html"
|
|
||||||
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${_dist_ver}.tar.gz"
|
|
||||||
checksum=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334
|
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
local url="${GNU_SITE}/$pkgname/$pkgname-${_dist_ver}-patches"
|
|
||||||
|
|
||||||
cd ${XBPS_SRCDISTDIR}/${pkgname}-${version}
|
|
||||||
if [ "${_patch_ver}" -gt 000 ]; then
|
|
||||||
for p in $(seq -w 001 ${_patch_ver}); do
|
|
||||||
if [ -f readline${version/./}-${p} ]; then
|
|
||||||
continue
|
|
||||||
fi
|
|
||||||
local patch_url="${url}/readline${_dist_ver/./}-${p}"
|
|
||||||
msg_normal " Fetching ${patch_url} ...\n"
|
|
||||||
$XBPS_FETCH_CMD "${patch_url}"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
cd ${wrksrc}
|
|
||||||
for p in $(seq -w 001 ${_patch_ver}); do
|
|
||||||
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/${pkgname}-${version}/readline${_dist_ver/./}-${p}
|
|
||||||
msg_normal " Applying patch readline${_dist_ver/./}-$p.\n"
|
|
||||||
done
|
|
||||||
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
|
|
||||||
}
|
|
||||||
do_build() {
|
|
||||||
make ${makejobs} LDFLAGS="-lncurses" SHLIB_LIBS="-lncurses"
|
|
||||||
}
|
|
||||||
do_install() {
|
|
||||||
make DESTDIR=${DESTDIR} LDFLAGS="-lncurses" SHLIB_LIBS="-lncurses" install
|
|
||||||
}
|
|
||||||
|
|
||||||
readline-devel_package() {
|
|
||||||
depends="ncurses-devel ${sourcepkg}>=${version}_${revision}"
|
|
||||||
short_desc+=" - development files"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/include
|
|
||||||
vmove usr/share
|
|
||||||
vmove "usr/lib/*.a"
|
|
||||||
vmove "usr/lib/*.so"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
site="https://git.savannah.gnu.org/cgit/readline.git"
|
|
||||||
pattern="(readline-\K[\d.]+(?=\.tar.gz))|(Readline-\K[\d.]+ patch \d+)"
|
|
||||||
version="${_dist_ver} patch ${_patch_ver}"
|
|
Loading…
Reference in a new issue