diff --git a/srcpkgs/ncursesw/ncursesw-devel.template b/srcpkgs/ncursesw/ncursesw-devel.template index 5bdf9780298..612d5acf934 100644 --- a/srcpkgs/ncursesw/ncursesw-devel.template +++ b/srcpkgs/ncursesw/ncursesw-devel.template @@ -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 } diff --git a/srcpkgs/ncursesw/template b/srcpkgs/ncursesw/template index b5f5451f5cf..f8257be5a22 100644 --- a/srcpkgs/ncursesw/template +++ b/srcpkgs/ncursesw/template @@ -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 }