blob: 95870879576b2a3ea245b8cf0335b3b25af36c15 (
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
29
30
31
32
33
34
|
# Contributor: Olliver Schinagl <oliver@schinagl.nl>
# Maintainer: Olliver Schinagl <oliver@schinagl.nl>
pkgname="openv2g"
pkgver="0.9.4"
pkgrel=0
pkgdesc="Implements ISO IEC 15118 and also the DIN 70121 vehicle to grid (V2G) communication interface"
url="https://openv2g.org/"
arch=""
license="LGPL-3.0-or-later"
options="!check" # No tests available
subpackages="lib${pkgname}:libs ${pkgname}-dev"
source="
makefiles.patch
${pkgname}-${pkgver}.zip::https://downloads.sourceforge.net/sourceforge/openv2g/OpenV2G_${pkgver}.zip
"
unpack() {
mkdir -p "${builddir}"
unzip "${srcdir}/${pkgname}-${pkgver}.zip" -d "${builddir}"
}
build() {
cd Release
make
}
package() {
depends="lib${pkgname}"
cd Release
make DESTDIR="${pkgdir}/usr" install
}
sha512sums="8ecb2b31ad9cd8cdb62e5bb32c4e535e2c6717d4d1809f7e42588a0b3071902c54de9be75e0b908ac5ab283aea9375080f6b4a5c4f002e4c27736266a68a2e2f makefiles.patch
0fe088bc3ae0f0dc6af8c9c3a989301e5e155a9406b80cb9025ceb5b548dc94202dde37993711c589fac6eddf626897c7ef003b73e01cb1c5b20b7b73365b930 openv2g-0.9.4.zip"
|