mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/opendht to 2.1.10-1
This commit is contained in:
parent
f8380d22e4
commit
31d10ea891
1 changed files with 4 additions and 11 deletions
|
@ -7,24 +7,17 @@
|
||||||
|
|
||||||
pkgname=opendht
|
pkgname=opendht
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgver=2.1.9.5
|
pkgver=2.1.10
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="C++14 Distributed Hash Table (DHT) implementation"
|
pkgdesc="C++14 Distributed Hash Table (DHT) implementation"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://github.com/savoirfairelinux/opendht"
|
url="https://github.com/savoirfairelinux/opendht"
|
||||||
license=(GPL3)
|
license=(GPL3)
|
||||||
depends=(openssl gnutls nettle argon2 readline fmt http-parser jsoncpp libjsoncpp.so)
|
depends=(openssl gnutls nettle argon2 readline fmt http-parser jsoncpp libjsoncpp.so)
|
||||||
makedepends=(msgpack-c cmake cython cppunit restinio)
|
makedepends=(msgpack-c cmake cython python-setuptools cppunit restinio)
|
||||||
optdepends=('python: to use the Python bindings')
|
optdepends=('python: to use the Python bindings')
|
||||||
source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
|
source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||||
${pkgname}-fix-systemd-makedep.patch::${url}/pull/535.patch)
|
sha256sums=('917e5f691199349d6884a68c26645840914c18e72b2e21d97817618ddc55fb81')
|
||||||
sha256sums=('74eb58f0589577a9df378772f1dd2edc1c3f1b16a045057c3bcb120d2c16403f'
|
|
||||||
'7774b345aa48f948bb0dcca3cd4341da53b8a0df8f8ba96440e9a0b0776e40e9')
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd ${pkgname}-${pkgver}
|
|
||||||
patch -Np1 -i ../${pkgname}-fix-systemd-makedep.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && echo "target_link_libraries(opendht PRIVATE atomic)" >> ${pkgname}-${pkgver}/CMakeLists.txt
|
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && echo "target_link_libraries(opendht PRIVATE atomic)" >> ${pkgname}-${pkgver}/CMakeLists.txt
|
||||||
|
|
Loading…
Reference in a new issue