From 3e7068b45d9445d533c4f6e7cd51ef4b10981b2c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 12 Mar 2009 05:27:23 +0100 Subject: [PATCH] readline: update to 6.0. --HG-- extra : convert_revision : 526bc47b36389f92185fe63d6fab910843354d51 --- templates/readline/template | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/templates/readline/template b/templates/readline/template index b53aa98b11..c3a66c60c7 100644 --- a/templates/readline/template +++ b/templates/readline/template @@ -1,13 +1,12 @@ +# Template build file for 'readline'. pkgname=readline -readline_distver=5.2 -readline_patchver=013 -version=${readline_distver}.${readline_patchver} -distfiles=ftp://ftp.cwru.edu/pub/bash/$pkgname-$readline_distver.tar.gz +version=6.0 +distfiles="ftp://ftp.cwru.edu/pub/bash/${pkgname}-${version}.tar.gz" build_style=gnu_configure make_build_args="SHLIB_LIBS=-lncurses" short_desc="The GNU Readline Library" maintainer="Juan RP " -checksum=12e88d96aee2cd1192500356f0535540db499282ca7f76339fb4228c31249f45 +checksum=1199d905c025735b34cf67d03078585e18f84707052413279fe68ce48c1cc1de 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 @@ -17,24 +16,11 @@ long_desc=" those lines, and perform csh-like history expansion on previous commands." -build_depends="ncurses-5.6" -run_depends="glibc-2.8 $build_depends" +base_chroot=yes -pre_configure() -{ - # Apply all patches for current version. - local URL="ftp://ftp.cwru.edu/pub/bash/$pkgname-$readline_distver-patches/" - local lver="readline52" - - for p in $(seq -w 001 $readline_patchver); do - if [ ! -f "$XBPS_SRCDISTDIR/$lver-$p" ]; then - msg_normal "Fetching $pkgname-$version patch: $lver-$p." - cd $XBPS_SRCDISTDIR && $fetch_cmd $URL/$lver-$p || bye 1 - fi - msg_normal "Applying patch: $lver-$p." - cd $wrksrc && patch -s -p0 < $XBPS_SRCDISTDIR/$lver-$p || bye 1 - done -} +Add_dependency full glibc +Add_dependency build ncurses +Add_dependency run ncurses-libs post_install() {