ncursesw: move so symlink into main pkg.
--HG-- extra : convert_revision : 608905e729d6346a5e7d755b4ef3eacf72b245ef
This commit is contained in:
parent
04e211182a
commit
e809240074
2 changed files with 9 additions and 4 deletions
|
@ -5,6 +5,8 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development: headers, static libs, etc."
|
||||
|
||||
revision=1
|
||||
|
||||
Add_dependency run glibc-devel
|
||||
Add_dependency run ncurses-devel
|
||||
Add_dependency run ncursesw
|
||||
|
@ -16,6 +18,5 @@ do_install()
|
|||
|
||||
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||
mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib
|
||||
cd ${DESTDIR}/usr/lib && ln -s libncursesw.so.5 libncursesw.so
|
||||
mv ${SRCPKGDESTDIR}/usr/bin/ncursesw5* ${DESTDIR}/usr/bin
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Template build file for 'ncursesw'.
|
||||
pkgname=ncursesw
|
||||
version=5.7
|
||||
revision=1
|
||||
wrksrc="ncurses-${version}"
|
||||
distfiles="http://ftp.gnu.org/pub/gnu/ncurses/ncurses-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
|
@ -28,7 +29,10 @@ post_install()
|
|||
rm -f ${DESTDIR}/usr/lib/lib*.so
|
||||
rm -f ${DESTDIR}/usr/lib/libncursesw.so.5
|
||||
mkdir -p ${DESTDIR}/lib
|
||||
mv ${DESTDIR}/usr/lib/libncursesw.so.5.7 ${DESTDIR}/lib
|
||||
cd ${DESTDIR}/usr/lib && \
|
||||
ln -sf ../../lib/libncursesw.so.5.7 libncursesw.so.5
|
||||
mv ${DESTDIR}/usr/lib/lib*.so.5.7 ${DESTDIR}/lib
|
||||
for f in panelw formw ncursesw menuw; do
|
||||
cd ${DESTDIR}/usr/lib && \
|
||||
ln -sf ../../lib/lib${f}.so.5.7 lib${f}.so.5 && \
|
||||
ln -sf ../../lib/lib${f}.so.5.7 lib${f}.so
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue