aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openv2g/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/openv2g/APKBUILD')
-rw-r--r--testing/openv2g/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/openv2g/APKBUILD b/testing/openv2g/APKBUILD
new file mode 100644
index 0000000000..845c28c478
--- /dev/null
+++ b/testing/openv2g/APKBUILD
@@ -0,0 +1,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="all"
+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"