2009-02-22 05:57:13 +01:00
|
|
|
# Template file for 'ncurses-libs'.
|
|
|
|
#
|
2009-02-24 07:13:11 +01:00
|
|
|
short_desc="${short_desc} (shared libraries)"
|
2009-02-22 05:57:13 +01:00
|
|
|
long_desc="${long_desc}
|
|
|
|
|
2009-02-24 07:13:11 +01:00
|
|
|
This package contains the shared libraries."
|
2009-02-22 05:57:13 +01:00
|
|
|
|
2009-02-24 07:13:11 +01:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run ncurses-base
|
2009-02-22 05:57:13 +01:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
|
|
|
|
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
|
|
|
|
|
|
|
|
mkdir -p ${destdir}/lib
|
|
|
|
mkdir -p ${destdir}/usr/lib
|
|
|
|
|
2009-02-24 07:13:11 +01:00
|
|
|
mv ${origdir}/usr/lib/libcurses.so* ${destdir}/lib
|
|
|
|
mv ${origdir}/usr/lib/libncurses.so* ${destdir}/lib
|
|
|
|
mv ${origdir}/usr/lib/lib*.so.* ${destdir}/usr/lib
|
2009-02-22 05:57:13 +01:00
|
|
|
}
|