readline: fix install; enable static.
This commit is contained in:
parent
0f0b91e2f7
commit
dc28039bcf
2 changed files with 8 additions and 3 deletions
|
@ -2,9 +2,9 @@
|
|||
#
|
||||
depends="ncurses-devel readline>=${version}"
|
||||
short_desc="${short_desc} - development files"
|
||||
noarch=yes
|
||||
|
||||
do_install() {
|
||||
vmove usr/include usr
|
||||
vmove usr/share usr
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
}
|
||||
|
|
|
@ -3,12 +3,12 @@ pkgname=readline
|
|||
_dist_ver=6.2
|
||||
_patch_ver=004
|
||||
version=${_dist_ver}.${_patch_ver}
|
||||
revision=2
|
||||
revision=3
|
||||
#version=${_dist_ver}
|
||||
wrksrc=${pkgname}-${_dist_ver}
|
||||
subpackages="$pkgname-devel"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --with-curses --enable-multibyte"
|
||||
configure_args="--enable-static --with-curses --enable-multibyte"
|
||||
make_build_args="SHLIB_LIBS=-lncurses"
|
||||
makedepends="ncurses-devel"
|
||||
short_desc="The GNU Readline Library"
|
||||
|
@ -35,4 +35,9 @@ pre_configure() {
|
|||
msg_normal " Applying patch readline62-$p.\n"
|
||||
done
|
||||
sed -i 's|-Wl,-rpath,$(libdir) ||g' support/shobj-conf
|
||||
sed -i 's,@INSTALL_DATA@,install -m755,' shlib/Makefile.in
|
||||
}
|
||||
|
||||
post_install() {
|
||||
chmod 755 ${DESTDIR}/usr/lib/*.so*
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue