aboutsummaryrefslogtreecommitdiffstats
path: root/testing/eg25-manager/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/eg25-manager/APKBUILD')
-rw-r--r--testing/eg25-manager/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/eg25-manager/APKBUILD b/testing/eg25-manager/APKBUILD
new file mode 100644
index 0000000000..7bb3de24d8
--- /dev/null
+++ b/testing/eg25-manager/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Clayton Craft <clayton@craftyguy.net>
+# Maintainer: Clayton Craft <clayton@craftyguy.net>
+pkgname=eg25-manager
+pkgver=0.1.1
+pkgrel=0
+pkgdesc="Daemon for managing the Quectel EG25 modem"
+url="https://gitlab.com/mobian1/devices/eg25-manager"
+arch="all !s390x" # no modemmanager
+license="GPL-3.0-or-later"
+makedepends="
+ glib-dev
+ libgpiod-dev
+ libgudev-dev
+ libusb-dev
+ meson
+ modemmanager-dev
+ "
+source="
+ https://gitlab.com/mobian1/devices/eg25-manager/-/archive/$pkgver/eg25-manager-$pkgver.tar.gz
+ eg25-manager.confd
+ eg25-manager.initd
+ "
+options="!check" # no tests
+subpackages="$pkgname-openrc"
+
+build() {
+ abuild-meson . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
+ install -Dm755 "$srcdir"/eg25-manager.initd "$pkgdir"/etc/init.d/eg25-manager
+ install -Dm644 "$srcdir"/eg25-manager.confd "$pkgdir"/etc/conf.d/eg25-manager
+}
+
+sha512sums="4607ca37d197932426ff196c4078b11032710135a7e2f85a982d67fd4a5590ac459c9b36690ef0047962bcf721a7c1ac11215b19aed7050e116ccf63735c517c eg25-manager-0.1.1.tar.gz
+55936830afad2968a214fb39cfe1a9db50421dc2ff4f67d04f08f6bd2b094c3ab46799cfc7743bbc5032682d98d1216203adf5264353a05134bea58524ac070b eg25-manager.confd
+6422ffb1014fee5315fbc82f811471e9bdef7e6bfedfd97c9e1928ff5dd2c761df8d3c54c05e132063365861e224cf344500ae6809fd2172795f48c7b6b483c8 eg25-manager.initd"