bearssl: fix libbearssl.so.0 => not found
This commit is contained in:
parent
56c96097cc
commit
20f73c93d5
1 changed files with 9 additions and 8 deletions
|
@ -1,23 +1,24 @@
|
||||||
# Template file for 'bearssl'
|
# Template file for 'bearssl'
|
||||||
pkgname=bearssl
|
pkgname=bearssl
|
||||||
version=0.6
|
version=0.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
|
make_build_args="D=.so.${version} LD=\$(CC) LDDLL=\$(CC) LDDLLFLAGS=-shared LDDLLFLAGS+=-Wl,-soname,lib${pkgname}.so.${version%%.*}"
|
||||||
short_desc="Implementation of the SSL/TLS protocol in C"
|
short_desc="Implementation of the SSL/TLS protocol in C"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://www.bearssl.org/"
|
homepage="https://bearssl.org"
|
||||||
_changelog="https://www.bearssl.org/changelog.html"
|
changelog="${homepage}/changelog.html"
|
||||||
distfiles="https://www.bearssl.org/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=6705bba1714961b41a728dfc5debbe348d2966c117649392f8c8139efc83ff14
|
checksum=6705bba1714961b41a728dfc5debbe348d2966c117649392f8c8139efc83ff14
|
||||||
CFLAGS="-fPIC"
|
CFLAGS="-fPIC"
|
||||||
make_build_args="D=.so.${version} LDDLL=\$(CC) LD=\$(CC) LDDLLFLAGS=-shared LDDLLFLAGS+=-Wl,-soname,libbearssl.so.0"
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin build/brssl
|
vbin build/brssl
|
||||||
vinstall build/libbearssl.a 0644 usr/lib
|
vinstall "build/lib${pkgname}.a" 0644 usr/lib
|
||||||
vinstall build/libbearssl.so.${version} 0644 usr/lib
|
vinstall "build/lib${pkgname}.so.${version}" 0644 usr/lib
|
||||||
ln -s libbearssl.so.${version} ${DESTDIR}/usr/lib/libbearssl.so
|
ln -s "lib${pkgname}.so.${version}" "${DESTDIR}/usr/lib/lib${pkgname}.so.${version%%.*}"
|
||||||
|
ln -s "lib${pkgname}.so.${version%%.*}" "${DESTDIR}/usr/lib/lib${pkgname}.so"
|
||||||
vcopy inc usr/include
|
vcopy inc usr/include
|
||||||
vlicense LICENSE.txt LICENSE
|
vlicense LICENSE.txt LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue