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

22 lines
466 B
Plaintext
Raw Normal View History

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