1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00

testing/dfu-utils: New aport

Host side implementation of the DFU 1.0 and DFU 1.1 specifications
http://dfu-util.sourceforge.net/
This commit is contained in:
Marian Buschsieweke 2018-07-17 16:16:11 +02:00 committed by Leonardo Arena
parent 1ad36959e0
commit e110f59bb8

31
testing/dfu-util/APKBUILD Normal file
View file

@ -0,0 +1,31 @@
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=dfu-util
pkgver=0.9
pkgrel=0
pkgdesc="Host side implementation of the DFU 1.0 and DFU 1.1 specifications"
url="http://dfu-util.sourceforge.net/"
arch="all"
license="GPL-2.0-only"
depends=
makedepends="libusb-dev"
subpackages="$pkgname-doc"
source="http://$pkgname.sourceforge.net/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build () {
cd "$builddir"
./configure --prefix=/usr
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
check() {
cd "$builddir"
make check
}
sha512sums="caa7148b7a9004e2b1f7bc4f1a26b48abfe311743bc0eeed1ab57459910371affc39b6fe7e74b7cac6ca9de41a9901b7a970253ca92d7d66d5008f8a11d2c952 dfu-util-0.9.tar.gz"