mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 07:02:29 +01:00
Host side implementation of the DFU 1.0 and DFU 1.1 specifications http://dfu-util.sourceforge.net/
32 lines
753 B
Plaintext
32 lines
753 B
Plaintext
# 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"
|