From 17a762b90e4a61af8d26f240f4e61da7dda39615 Mon Sep 17 00:00:00 2001 From: Frank Hunleth Date: Wed, 15 Aug 2018 00:51:44 -0400 Subject: testing/fwup: move to community --- community/fwup/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 community/fwup/APKBUILD (limited to 'community/fwup') diff --git a/community/fwup/APKBUILD b/community/fwup/APKBUILD new file mode 100644 index 0000000000..5c231450ff --- /dev/null +++ b/community/fwup/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Frank Hunleth +# Maintainer: Frank Hunleth +pkgname=fwup +pkgver=1.2.5 +pkgrel=0 +pkgdesc="Configurable embedded Linux firmware update creator and runner" +url="https://github.com/fhunleth/fwup" +arch="all" +license="Apache-2.0" +makedepends="linux-headers confuse-dev libarchive-dev libsodium-dev help2man dosfstools mtools zip unzip" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/fhunleth/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="63d3fd905259059933cf12753801863255840db0ad62463e0adb37b3beaa2f66d7f055d8e6a713e1392fe08c4007e72facd374859c6dd007437382568bbc7c3c fwup-1.2.5.tar.gz" -- cgit v1.2.3