void-packages/srcpkgs/libldap/libldap-devel.template
Juan RP 55fcdb3fc2 Added libldap-2.4.21 build template.
--HG--
extra : convert_revision : e2fb0d6c45e405b79277bceaaf5f91b4ac982bfc
2010-04-18 15:12:31 +02:00

18 lines
520 B
Text

# Template file for 'libldap-devel'.
#
short_desc="${sourcepkg} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run openssl-devel
Add_dependency run libsasl-devel
Add_dependency run libldap
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.{a,so} ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
}