From fea5a6bbd65653a75fa31add9671abedded617cc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 27 Jan 2010 00:22:18 +0100 Subject: [PATCH] readline: update to 6.1.001. --HG-- extra : convert_revision : 07dcfd668de155c5722e593e1a5150da9d31d465 --- srcpkgs/readline/readline-devel.template | 2 -- srcpkgs/readline/template | 22 +++++++++++----------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/srcpkgs/readline/readline-devel.template b/srcpkgs/readline/readline-devel.template index 2072944a613..0477b2ce7dc 100644 --- a/srcpkgs/readline/readline-devel.template +++ b/srcpkgs/readline/readline-devel.template @@ -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 diff --git a/srcpkgs/readline/template b/srcpkgs/readline/template index 8d6f8b797fb..d887e057b20 100644 --- a/srcpkgs/readline/template +++ b/srcpkgs/readline/template @@ -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 " -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 }