6b5b8abfcf
--HG-- extra : convert_revision : 56e6a7b0a1e0e179a8eeedf34b59ac9c99829263
26 lines
756 B
Text
26 lines
756 B
Text
# Template file for 'openssl-devel'.
|
|
#
|
|
short_desc="${short_desc} (development files)"
|
|
long_desc="${long_desc}
|
|
|
|
This package contains files for development, headers, static libs, etc."
|
|
|
|
revision=1
|
|
Add_dependency run openssl
|
|
|
|
do_install()
|
|
{
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
mkdir -p ${DESTDIR}/usr/share/man
|
|
|
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
|
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/lib/*.so ${DESTDIR}/usr/lib
|
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
|
# Rename conflicting manpages
|
|
for f in err rand threads; do
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man3/${f}.3 \
|
|
${SRCPKGDESTDIR}/usr/share/man/man3/openssl-${f}.3
|
|
done
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
|
}
|