void-packages/srcpkgs/heimdal/heimdal-devel.template
Juan RP 9d08571dcc Added heimdal-1.3.1 build template.
--HG--
extra : convert_revision : a6a118c58ee1ac50a1df444f1fd99a1165355889
2010-03-08 05:17:26 +01:00

33 lines
1 KiB
Text

# Template file for 'heimdal-devel'.
#
short_desc="Heimdal Kerberos - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noverifyrdeps=yes
Add_dependency run db-devel
Add_dependency run openssl-devel
Add_dependency run e2fsprogs-devel ">=1.4.10_1"
Add_dependency run readline-devel
Add_dependency run ncurses-devel
do_install()
{
mkdir -p ${DESTDIR}/usr/{lib,libexec,bin} \
${DESTDIR}/usr/share/man/man1
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
for f in krb5-config; do
mv ${SRCPKGDESTDIR}/usr/bin/${f} ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/share/man/man1/${f}* \
${DESTDIR}/usr/share/man/man1
done
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/share/info ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/libexec/heimdal ${DESTDIR}/usr/libexec
}