readline: disable static; remove long_desc; cross build support.
This commit is contained in:
parent
8f4fca255b
commit
f790c9ab23
2 changed files with 9 additions and 20 deletions
srcpkgs/readline
|
@ -1,14 +1,10 @@
|
||||||
# Template file for 'readline-devel'.
|
# Template file for 'readline-devel'.
|
||||||
#
|
#
|
||||||
depends="ncurses-devel readline>=$version"
|
depends="ncurses-devel readline>=${version}"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc="${short_desc} - development files"
|
||||||
long_desc="${long_desc}
|
noarch=yes
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
mkdir -p ${DESTDIR}/usr/lib
|
vmove usr/include usr
|
||||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
vmove usr/share usr
|
||||||
mv ${SRCPKGDESTDIR}/usr/share ${DESTDIR}/usr
|
|
||||||
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,28 +3,21 @@ pkgname=readline
|
||||||
_dist_ver=6.2
|
_dist_ver=6.2
|
||||||
_patch_ver=004
|
_patch_ver=004
|
||||||
version=${_dist_ver}.${_patch_ver}
|
version=${_dist_ver}.${_patch_ver}
|
||||||
revision=1
|
revision=2
|
||||||
#version=${_dist_ver}
|
#version=${_dist_ver}
|
||||||
wrksrc=${pkgname}-${_dist_ver}
|
wrksrc=${pkgname}-${_dist_ver}
|
||||||
subpackages="$pkgname-devel"
|
subpackages="$pkgname-devel"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-curses --enable-multibyte"
|
configure_args="--disable-static --with-curses --enable-multibyte"
|
||||||
make_build_args="SHLIB_LIBS=-lncurses"
|
make_build_args="SHLIB_LIBS=-lncurses"
|
||||||
makedepends="ncurses-devel"
|
makedepends="ncurses-devel"
|
||||||
|
crossmakedepends="${makedepends}"
|
||||||
short_desc="The GNU Readline Library"
|
short_desc="The GNU Readline Library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
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"
|
homepage="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
|
||||||
license="GPL-3"
|
license="GPL-3"
|
||||||
long_desc="
|
distfiles="http://ftp.gnu.org/gnu/readline/${pkgname}-${_dist_ver}.tar.gz"
|
||||||
The GNU Readline library provides a set of functions for use by
|
checksum=79a696070a058c233c72dd6ac697021cc64abd5ed51e59db867d66d196a89381
|
||||||
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."
|
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
local url="http://ftp.gnu.org/gnu/$pkgname/$pkgname-${_dist_ver}-patches"
|
local url="http://ftp.gnu.org/gnu/$pkgname/$pkgname-${_dist_ver}-patches"
|
||||||
|
|
Loading…
Reference in a new issue