summaryrefslogtreecommitdiff
path: root/wolfssl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'wolfssl/PKGBUILD')
-rw-r--r--wolfssl/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/wolfssl/PKGBUILD b/wolfssl/PKGBUILD
new file mode 100644
index 0000000..97bf317
--- /dev/null
+++ b/wolfssl/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Aki <please@ignore.pl>
+pkgname=wolfssl
+pkgver=5.6.0
+pkgrel=4
+pkgdesc='Small, fast, portable implementation of TLS/SSL for embedded devices to the cloud'
+license=('GPL 2.0')
+arch=(x86_64 i686)
+provides=("${pkgname}")
+conflicts=("${pkgname}")
+makedepends=(autoconf)
+depends=(libtool)
+source=("https://github.com/wolfSSL/${pkgname}/archive/refs/tags/v${pkgver}-stable.tar.gz")
+sha256sums=('c1e689e21a17aa9b838e67a37c3eadfa578c8e260f8c77fb028c0316309f0636')
+
+
+build() {
+ cd "${pkgname}-${pkgver}-stable"
+ ./autogen.sh
+ ./configure --prefix=/usr --disable-examples --enable-ssh --enable-keygen --enable-static \
+ CPPFLAGS='-DWOLFSSL_FPKI -DWOLFSSL_IP_ALT_NAME -DWOLFSSL_ALT_NAMES -DNO_WOLFSSL_DIR -DWOLFSSL_PUBLIC_ASN' \
+ --enable-certext --enable-certgen
+ make
+}
+
+
+package() {
+ cd "${pkgname}-${pkgver}-stable"
+ make DESTDIR="${pkgdir}" install
+}