2009-02-25 06:15:20 +01:00
|
|
|
# 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."
|
|
|
|
|
2009-12-20 23:29:13 +01:00
|
|
|
revision=2
|
|
|
|
|
|
|
|
Add_dependency run glibc-devel
|
2009-02-25 06:15:20 +01:00
|
|
|
Add_dependency run openssl
|
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
2009-03-11 06:31:56 +01:00
|
|
|
mkdir -p ${DESTDIR}/usr/lib
|
|
|
|
mkdir -p ${DESTDIR}/usr/share/man
|
2009-02-25 06:15:20 +01:00
|
|
|
|
2009-03-11 06:31:56 +01:00
|
|
|
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
|
2009-11-27 02:52:18 +01:00
|
|
|
# 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
|
2009-03-11 06:31:56 +01:00
|
|
|
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
|
2009-02-25 06:15:20 +01:00
|
|
|
}
|