mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Merge branch 'develop' of git.rwth-aachen.de:VILLASframework/VILLASnode into develop
This commit is contained in:
commit
4ea68b1ce2
3 changed files with 52 additions and 1 deletions
47
packaging/archlinux/PKGBUILD
Normal file
47
packaging/archlinux/PKGBUILD
Normal file
|
@ -0,0 +1,47 @@
|
|||
# $Id$
|
||||
# Maintainer: Daniel Krebs <github@daniel-krebs.net>
|
||||
pkgname=villas-node
|
||||
pkgdesc="Connecting real-time power grid simulation equipment"
|
||||
|
||||
## Choose to build tag release or some branch
|
||||
#branch=v$pkgver
|
||||
branch=develop
|
||||
|
||||
pkgver=$branch
|
||||
pkgrel=1
|
||||
arch=('x86_64')
|
||||
install=$pkgname.install
|
||||
# TODO: check dependencies, might be more
|
||||
makedepends=('libconfig')
|
||||
depends=('libwebsockets' 'zeromq' 'nanomsg' 'libxil' 'openssl' 'jansson' 'curl'
|
||||
'libnl' 'protobuf' 'libpgm')
|
||||
|
||||
repo=VILLASnode
|
||||
url="https://git.rwth-aachen.de/VILLASframework/$repo"
|
||||
source=("$url/repository/$branch/archive.tar.bz2")
|
||||
sha256sums=(SKIP)
|
||||
|
||||
prepare() {
|
||||
cd "$(sh -c "echo ${repo}-*")"
|
||||
|
||||
# don't build tests
|
||||
sed -i 's/all: src plugins tools tests clients/all: src plugins tools clients/' Makefile
|
||||
|
||||
# don't run ldconfig during install (requires root permissions)
|
||||
# see villas-node.install for post_install hook
|
||||
sed -i '/ldconfig/d' lib/Makefile.villas.inc
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$(sh -c "echo ${repo}-*")"
|
||||
|
||||
# concurrent build seems broken
|
||||
make -j1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$(sh -c "echo ${repo}-*")"
|
||||
|
||||
make DESTDIR="$pkgdir" PREFIX=/usr install
|
||||
}
|
||||
|
4
packaging/archlinux/villas-node.install
Executable file
4
packaging/archlinux/villas-node.install
Executable file
|
@ -0,0 +1,4 @@
|
|||
post_install() {
|
||||
echo "Running ldconfig"
|
||||
ldconfig
|
||||
}
|
2
thirdparty/libxil
vendored
2
thirdparty/libxil
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 1e9ba6ce5568b2712fef60f8a1923aeb3979bda7
|
||||
Subproject commit 89eb3ead0c210318144238f2b5b6a96ce3feec73
|
Loading…
Add table
Reference in a new issue