summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 97a14fd7af2fecc8bcbe4d9382fe045831473a64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#Package for libIEC61850
#Library headers are prefixed with libiec61850 (standard with cmake install)
#I've tested the library for x86_64 and ARM architectures;
#	(ARM v5 softfloat, and ARM v7 hardfloat.) However this package has so far
#	only been tested on x86_64 - I've included i686 as well, as it ought to work.
#Packager Henrik Juul Pedersen <henrikjuul AT gmail>

pkgname=libiec61850
pkgver=1.0.1
pkgrel=1
pkgdesc="libIEC61850 provides a server and client library for IEC 61850"
arch=('x86_64' 'i686')
url="http://libiec61850.com/"
license=('GPLv3')
source=("http://libiec61850.com/libiec61850/wp-content/uploads/2017/03/$pkgname-$pkgver.tgz")
sha256sums=('9769059f5e9640f497b45610873695fd202116565b827a5d503ff9923d198b78')

build() {
	cd $pkgname-$pkgver
	cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/usr/ CMakeLists.txt
	make -j
}

#Install prefix set by cmake
package() {
	cd $pkgname-$pkgver
	make install
}