mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-19 15:41:51 +01:00
In the file COPYING the GPL2 is given. But some files in the source (grep for GPL) state they are license GPL2+ and GPL3 only.
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
pkgname=openocd
|
|
pkgver=0.10.0
|
|
pkgrel=4
|
|
pkgdesc="Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing"
|
|
url="http://openocd.org/"
|
|
arch="all"
|
|
license="GPL-2.0-only,GPL-2.0-or-later,GPL-3.0-only"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="libftdi1-dev libusb-dev hidapi-dev libtool"
|
|
install=""
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--disable-werror \
|
|
--enable-cmsis-dap \
|
|
--enable-sysfsgpio \
|
|
--enable-bcm2835gpio
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make -C "$builddir" check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="6c890c86c3339da49bd529e8674ca62bc7fce4a2a17798dcc5d70b4f7628b640d856651170a3f7e2e2a120989066e84d8439b56ff42ff2bd72446f9af0f28ba2 openocd-0.10.0.tar.bz2"
|