readline: update to 6.1.001.
--HG-- extra : convert_revision : 07dcfd668de155c5722e593e1a5150da9d31d465
This commit is contained in:
parent
b2f6ce4ce2
commit
fea5a6bbd6
2 changed files with 11 additions and 13 deletions
|
@ -5,8 +5,6 @@ long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
revision=1
|
|
||||||
|
|
||||||
Add_dependency run glibc-devel
|
Add_dependency run glibc-devel
|
||||||
Add_dependency run readline
|
Add_dependency run readline
|
||||||
|
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
# Template build file for 'readline'.
|
# Template build file for 'readline'.
|
||||||
pkgname=readline
|
pkgname=readline
|
||||||
_dist_ver=6.0
|
_dist_ver=6.1
|
||||||
_patch_ver=004
|
_patch_ver=001
|
||||||
version=${_dist_ver}.${_patch_ver}
|
version=${_dist_ver}.${_patch_ver}
|
||||||
wrksrc=${pkgname}-${_dist_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
|
build_style=gnu_configure
|
||||||
configure_args="--with-curses --enable-multibyte"
|
configure_args="--with-curses --enable-multibyte"
|
||||||
make_build_args="SHLIB_LIBS=-lncurses"
|
make_build_args="SHLIB_LIBS=-lncurses"
|
||||||
short_desc="The GNU Readline Library"
|
short_desc="The GNU Readline Library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=1199d905c025735b34cf67d03078585e18f84707052413279fe68ce48c1cc1de
|
checksum=f0caf608c06ccd6d56b3bee1843458d509c53f9b53dffffe07cc11d8f03fa969
|
||||||
long_desc="
|
long_desc="
|
||||||
The GNU Readline library provides a set of functions for use by
|
The GNU Readline library provides a set of functions for use by
|
||||||
applications that allow users to edit command lines as they are
|
applications that allow users to edit command lines as they are
|
||||||
|
@ -21,26 +21,26 @@ long_desc="
|
||||||
commands."
|
commands."
|
||||||
|
|
||||||
subpackages="$pkgname-devel"
|
subpackages="$pkgname-devel"
|
||||||
Add_dependency full glibc
|
Add_dependency run glibc
|
||||||
Add_dependency build ncurses
|
|
||||||
Add_dependency run ncurses-libs
|
Add_dependency run ncurses-libs
|
||||||
|
Add_dependency build ncurses-devel
|
||||||
Add_dependency build texinfo
|
Add_dependency build texinfo
|
||||||
|
|
||||||
pre_configure()
|
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
|
if [ "${_patch_ver}" -gt 000 ]; then
|
||||||
for p in $(seq -w 001 ${_patch_ver}); do
|
for p in $(seq -w 001 ${_patch_ver}); do
|
||||||
cd ${XBPS_SRCDISTDIR} || return 1
|
cd ${XBPS_SRCDISTDIR} || return 1
|
||||||
[ -f ${XBPS_SRCDISTDIR}/readline60-${p} ] && continue
|
[ -f ${XBPS_SRCDISTDIR}/readline61-${p} ] && continue
|
||||||
$XBPS_FETCH_CMD ${url}/readline60-$p
|
$XBPS_FETCH_CMD ${url}/readline61-$p
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
for p in $(seq -w 001 ${_patch_ver}); do
|
for p in $(seq -w 001 ${_patch_ver}); do
|
||||||
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/readline60-${p} && \
|
patch -s -Np0 -i ${XBPS_SRCDISTDIR}/readline61-${p} && \
|
||||||
msg_normal "Applying patch readline60-$p."
|
msg_normal "Applying patch readline61-$p."
|
||||||
done
|
done
|
||||||
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
|
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue