diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-07-31 17:06:10 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-07-31 21:11:18 +0200 |
commit | d5e71ce601910849e9101a900fc4c8c1530cafe7 (patch) | |
tree | a994800d3f06b8fa0093476278991116919c260e /main | |
parent | c08b2024a6d6d9f8d224852cd93e5a7e4ed069b5 (diff) | |
download | aports-d5e71ce601910849e9101a900fc4c8c1530cafe7.tar.bz2 aports-d5e71ce601910849e9101a900fc4c8c1530cafe7.tar.xz |
main/polarssl: build and ship polarssl_cert_write
Diffstat (limited to 'main')
-rw-r--r-- | main/polarssl/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/main/polarssl/APKBUILD b/main/polarssl/APKBUILD index af3d9686bf..c7a517a0a2 100644 --- a/main/polarssl/APKBUILD +++ b/main/polarssl/APKBUILD @@ -2,7 +2,7 @@ pkgname=polarssl pkgver=1.3.8 -pkgrel=0 +pkgrel=1 pkgdesc='Portable cryptographic and SSL/TLS library' arch=all url='https://www.polarssl.org/' @@ -19,6 +19,11 @@ prepare() { build() { cd "$srcdir"/$pkgname-$pkgver LDFLAGS="$LDFLAGS -I../include " make SHARED=1 no_test || return 1 + + # bundled makefile omit this tool completely without good reason + cd programs/x509 + cc -Wall -Wextra -W -Wdeclaration-after-statement cert_write.c \ + -o cert_write -rdynamic ../../library/libpolarssl.a } check() { @@ -35,7 +40,11 @@ utils() { pkgdesc='PolarSSL command line utilities' install -d "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ + + install -Dm755 "$srcdir"/$pkgname-$pkgver/programs/x509/cert_write \ + "$subpkgdir"/usr/bin/polarssl_cert_write } + md5sums="d1a2b4f21727e888f143414d2e3144e6 polarssl-1.3.8-gpl.tgz" sha256sums="318171db41335cacbb5b0047c94f1faf91442ab70a223b5223436703c9406ff1 polarssl-1.3.8-gpl.tgz" sha512sums="e1bf2b111510582ebf071b11d9d0663fbd02ac61f6ded9611e2f0eb5ff64b421d72768dd94ec5e52353d3bde06bc62d673211c26debab2cd7b3c86108d2de627 polarssl-1.3.8-gpl.tgz" |