vp-build/templates/libidn/devel.template
Juan RP 4d29f69f32 curl, libidn: converted to subpkgs.
--HG--
extra : convert_revision : 1041370558329cd01bdfaf6258eace73ae42a9cc
2009-02-25 16:39:02 +01:00

24 lines
650 B
Plaintext

# Template file for 'libidn-devel'.
#
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libidn
do_install()
{
local destdir=${XBPS_DESTDIR}/${pkgname}-${version}
local origdir=${XBPS_DESTDIR}/${sourcepkg}-${version}
mkdir -p ${destdir}/usr/lib
mkdir -p ${destdir}/usr/share/man
mv ${origdir}/usr/include ${destdir}/usr
mv ${origdir}/usr/lib/*.*a ${destdir}/usr/lib
mv ${origdir}/usr/lib/*.so ${destdir}/usr/lib
mv ${origdir}/usr/lib/pkgconfig ${destdir}/usr/lib
mv ${origdir}/usr/share/man/man3 ${destdir}/usr/share/man
}