vp-build/srcpkgs/heimdal/heimdal-devel.template

35 lines
1.0 KiB
Plaintext
Raw Normal View History

# 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."
revision=1
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
}