aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dfu-util/APKBUILD
blob: bc7375c34c617040029df95646891abc91164944 (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
# 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"