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

22 lines
452 B
Text
Raw Normal View History

# Template file for 'ncurses-libs'.
#
revision=1
short_desc="${sourcepkg} shared libraries"
long_desc="${long_desc}
This package contains the shared libraries."
replaces="ncursesw>=0"
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*
}