readline: update to 6.1.001.

--HG--
extra : convert_revision : 07dcfd668de155c5722e593e1a5150da9d31d465
This commit is contained in:
Juan RP 2010-01-27 00:22:18 +01:00
parent b2f6ce4ce2
commit fea5a6bbd6
2 changed files with 11 additions and 13 deletions

View file

@ -5,8 +5,6 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
revision=1
Add_dependency run glibc-devel
Add_dependency run readline

View file

@ -1,16 +1,16 @@
# Template build file for 'readline'.
pkgname=readline
_dist_ver=6.0
_patch_ver=004
_dist_ver=6.1
_patch_ver=001
version=${_dist_ver}.${_patch_ver}
wrksrc=${pkgname}-${_dist_ver}
distfiles="http://savory.googlecode.com/files/${pkgname}-${_dist_ver}.tar.gz"
distfiles="http://ftp.gnu.org/gnu/readline/${pkgname}-${_dist_ver}.tar.gz"
build_style=gnu_configure
configure_args="--with-curses --enable-multibyte"
make_build_args="SHLIB_LIBS=-lncurses"
short_desc="The GNU Readline Library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1199d905c025735b34cf67d03078585e18f84707052413279fe68ce48c1cc1de
checksum=f0caf608c06ccd6d56b3bee1843458d509c53f9b53dffffe07cc11d8f03fa969
long_desc="
The GNU Readline library provides a set of functions for use by
applications that allow users to edit command lines as they are
@ -21,26 +21,26 @@ long_desc="
commands."
subpackages="$pkgname-devel"
Add_dependency full glibc
Add_dependency build ncurses
Add_dependency run glibc
Add_dependency run ncurses-libs
Add_dependency build ncurses-devel
Add_dependency build texinfo
pre_configure()
{
local url="http://ftp.gnu.org/gnu/$pkgname/$pkgname-6.0-patches"
local url="http://ftp.gnu.org/gnu/$pkgname/$pkgname-6.1-patches"
if [ "${_patch_ver}" -gt 000 ]; then
for p in $(seq -w 001 ${_patch_ver}); do
cd ${XBPS_SRCDISTDIR} || return 1
[ -f ${XBPS_SRCDISTDIR}/readline60-${p} ] && continue
$XBPS_FETCH_CMD ${url}/readline60-$p
[ -f ${XBPS_SRCDISTDIR}/readline61-${p} ] && continue
$XBPS_FETCH_CMD ${url}/readline61-$p
done
fi
cd ${wrksrc}
for p in $(seq -w 001 ${_patch_ver}); do
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/readline60-${p} && \
msg_normal "Applying patch readline60-$p."
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/readline61-${p} && \
msg_normal "Applying patch readline61-$p."
done
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
}