diff options
author | dreieck | 2023-03-31 00:04:19 +0200 |
---|---|---|
committer | dreieck | 2023-03-31 00:04:19 +0200 |
commit | af570255d943e49a901405df5e866ccf76b135fb (patch) | |
tree | 2c3d9a34fd69e650f08c807f2718ec3a5de12cc2 | |
parent | 7a729f50d34e501b384b102669ba2cc9cc56e532 (diff) | |
download | aur-af570255d943e49a901405df5e866ccf76b135fb.tar.gz |
added missing dependency `libnl`.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 28 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = authsae-git pkgdesc = Authsae provides secure password-based authentication for 802.11s mesh networking. pkgver = 1.3.1+r440.20190806.73f31dd - pkgrel = 2 + pkgrel = 3 epoch = 5 url = https://github.com/cozybit/authsae arch = x86 @@ -12,6 +12,7 @@ pkgbase = authsae-git depends = glibc depends = openssl depends = libconfig + depends = libnl provides = authsae=1.3.1+r440.20190806.73f31dd conflicts = authsae source = authsae::git+https://github.com/cozybit/authsae.git @@ -3,14 +3,14 @@ _pkgname="authsae" pkgname="${_pkgname}-git" -pkgrel=2 +pkgrel=3 pkgver=1.3.1+r440.20190806.73f31dd epoch=5 pkgdesc="Authsae provides secure password-based authentication for 802.11s mesh networking." arch=('x86' 'x86_64') url="https://github.com/cozybit/${_pkgname}" license=("BSD") -depends=("glibc" "openssl" "libconfig") +depends=("glibc" "openssl" "libconfig" "libnl") makedepends=("git" "cmake") provides=("authsae=${pkgver}") conflicts=("authsae") @@ -42,12 +42,35 @@ prepare() { build() { cd "${srcdir}/${_pkgname}" + export ADDR2LINE=addr2line + export AR=ar + export CC=gcc + export CC_AR=gcc-ar + export CC_RANLIB=gcc-ranlib + export LD=ld + export NM=nm + export OBJCOPY=objcopy + export OBJDUMP=objdump + export RANLIB=ranlib + export READELF=readelf + msg2 "Configuring with 'cmake' ..." cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DENABLE_LINUX_TARGETS=ON \ + -DCMAKE_ADDR2LINE="${ADDR2LINE}" \ + -DCMAKE_AR="${AR}" \ + -DCMAKE_C_COMPILER="${CC}" \ + -DCMAKE_C_COMPILER_AR="${CC_AR}" \ + -DCMAKE_C_COMPILER_RANLIB="${CC_RANLIB}" \ + -DCMAKE_LINKER="${LD}" \ + -DCMAKE_NM="${NM}" \ + -DCMAKE_OBJCOPY="${OBJCOPY}" \ + -DCMAKE_OBJDUMP="${OBJDUMP}" \ + -DCMAKE_RANLIB="${RANLIB}" \ + -DCMAKE_READELF="${READELF}" \ . # FIXME: the cmake script does something very wrong and attempts to install the config file in prefix+/etc, submit patch to upstream to allow to change that @@ -55,7 +78,7 @@ build() { sed -i 's|/usr/etc/|/etc|' cmake_install.cmake msg2 "Running 'make' ..." - make + make -j1 } package() { |