readline: disable static; remove long_desc; cross build support.

This commit is contained in:
Juan RP 2013-02-06 21:00:02 +01:00
parent 8f4fca255b
commit f790c9ab23
2 changed files with 9 additions and 20 deletions

View file

@ -1,14 +1,10 @@
# Template file for 'readline-devel'.
#
depends="ncurses-devel readline>=$version"
depends="ncurses-devel readline>=${version}"
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noarch=yes
do_install() {
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
vmove usr/include usr
vmove usr/share usr
}

View file

@ -3,28 +3,21 @@ pkgname=readline
_dist_ver=6.2
_patch_ver=004
version=${_dist_ver}.${_patch_ver}
revision=1
revision=2
#version=${_dist_ver}
wrksrc=${pkgname}-${_dist_ver}
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--with-curses --enable-multibyte"
configure_args="--disable-static --with-curses --enable-multibyte"
make_build_args="SHLIB_LIBS=-lncurses"
makedepends="ncurses-devel"
crossmakedepends="${makedepends}"
short_desc="The GNU Readline Library"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://ftp.gnu.org/gnu/readline/${pkgname}-${_dist_ver}.tar.gz"
checksum=79a696070a058c233c72dd6ac697021cc64abd5ed51e59db867d66d196a89381
homepage="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
license="GPL-3"
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
typed in. Both Emacs and vi editing modes are available. The
Readline library includes additional functions to maintain a list
of previously-entered command lines, to recall and perhaps reedit
those lines, and perform csh-like history expansion on previous
commands."
distfiles="http://ftp.gnu.org/gnu/readline/${pkgname}-${_dist_ver}.tar.gz"
checksum=79a696070a058c233c72dd6ac697021cc64abd5ed51e59db867d66d196a89381
pre_configure() {
local url="http://ftp.gnu.org/gnu/$pkgname/$pkgname-${_dist_ver}-patches"