void-packages/srcpkgs/ncurses/ncurses-libs.template

23 lines
480 B
Plaintext

# Template file for 'ncurses-libs'.
#
short_desc="${sourcepkg} shared libraries"
long_desc="${long_desc}
This package contains the shared libraries."
revision=3
Add_dependency run glibc
Add_dependency run ncurses-base
do_install()
{
mkdir -p ${DESTDIR}/lib
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/libncurses.so* ${DESTDIR}/lib
chmod 755 ${DESTDIR}/lib/*.so*
mv ${SRCPKGDESTDIR}/usr/lib/lib*.so.* ${DESTDIR}/usr/lib
chmod 755 ${DESTDIR}/usr/lib/*.so*
}