polarssl: enable POLARSSL_THREADING_*
This commit is contained in:
parent
420573cf29
commit
66544714d4
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'polarssl'
|
# Template file for 'polarssl'
|
||||||
pkgname=polarssl
|
pkgname=polarssl
|
||||||
version=1.3.9
|
version=1.3.9
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DENABLE_ZLIB_SUPPORT=on -DUSE_SHARED_POLARSSL_LIBRARY=on"
|
configure_args="-DENABLE_ZLIB_SUPPORT=on -DUSE_SHARED_POLARSSL_LIBRARY=on"
|
||||||
hostmakedepends="cmake perl"
|
hostmakedepends="cmake perl"
|
||||||
|
@ -14,6 +14,12 @@ update_pattern=$pkgname'-\K[\d.]+'
|
||||||
distfiles="http://www.polarssl.org/code/releases/polarssl-${version}-gpl.tgz"
|
distfiles="http://www.polarssl.org/code/releases/polarssl-${version}-gpl.tgz"
|
||||||
checksum=d3605afc28ed4b7d1d9e3142d72e42855e4a23c07c951bbb0299556b02d36755
|
checksum=d3605afc28ed4b7d1d9e3142d72e42855e4a23c07c951bbb0299556b02d36755
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
sed -i -e 's|//\(#define POLARSSL_THREADING_C\)|\1|' \
|
||||||
|
-e 's|//\(#define POLARSSL_THREADING_PTHREAD\)|\1|' \
|
||||||
|
include/polarssl/config.h
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm ${DESTDIR}/usr/bin/{md5,sha1}sum
|
rm ${DESTDIR}/usr/bin/{md5,sha1}sum
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue