This commit is contained in:
bayramkarahan committed 2023-04-09 19:27:15 +03:00
1 parent 21745e2730
commit b0cda5bf4a
45 files changed
+1638 -35

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
#!/usr/bin/env bash
name='mbedtls'
release='1'
version='2.28.3'
url='https://tls.mbed.org/'
description='Portable cryptographic and SSL/TLS library, aka polarssl'
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('Apache')
source=("https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${version}.tar.gz")
depends=(glibc)
makedepends=(cmake python)
md5sums=('7e1b09243447a0378a78dd5469b68415')
group=(net.libs)
uses=()
arch=('x86_64')
cd $name-$version
setup(){
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_SHARED_MBEDTLS_LIBRARY=ON
}
build(){
cmake --build build
}
package(){
cmake --install build
}
+47
View File
@@ -0,0 +1,47 @@
#!/usr/bin/env bash
name='zeromq'
release='1'
version='4.3.4'
_cppver=4.8.0
url='https://github.com/jedisct1/libsodium'
description='P(ortable|ackageable) NaCl-based crypto library'
email='bayramk@gmail.com'
maintainer='by'
license=('custom:ISC')
source=("https://github.com/zeromq/libzmq/releases/download/v$version/zeromq-$version.tar.gz"
"zmq.hpp.$_cppver.tgz::https://github.com/zeromq/cppzmq/archive/v$_cppver.tar.gz")
depends=(libsodium libpgm)
makedepends=()
md5sums=('c897d4005a3f0b8276b00b7921412379'
'SKIP')
group=(net.libs)
uses=()
arch=('x86_64')
cd $name-$version
prepare() {
sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' configure
sed -i 's/openpgm-5.1/openpgm-5.3/' configure configure.ac
sed -i 's/CXXFLAGS="-Wno-long-long/CXXFLAGS="-Wno-unused-function -Wno-long-long/' configure
}
setup(){
autoreconf -fvi
./configure --prefix=/usr \
--libdir=/usr/lib64/ \
--with-pgm \
--with-libsodium \
--with-documentation --enable-static --disable-Werror
}
build(){
make -Wno-unused-function -Wnoerror=unused-function
}
package(){
make install $jobs
}