Skip to content

Commit

Permalink
openocd: rebuild for libjaylink
Browse files Browse the repository at this point in the history
  • Loading branch information
raedrizqie authored and Biswa96 committed Dec 3, 2024
1 parent b3bb396 commit 1735246
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions mingw-w64-openocd/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,30 @@ _realname=openocd
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.12.0
pkgrel=2
pkgrel=3
pkgdesc="OpenOCD - Open On-Chip Debugger (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64')
url="https://openocd.org/"
license=("GPLv2")
license=("spdx:GPL-2.0-or-later")
options=('!ccache')
depends=("${MINGW_PACKAGE_PREFIX}-hidapi"
"${MINGW_PACKAGE_PREFIX}-libusb"
"${MINGW_PACKAGE_PREFIX}-libftdi"
"${MINGW_PACKAGE_PREFIX}-libjaylink"
"${MINGW_PACKAGE_PREFIX}-capstone")
makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-autotools")
"${MINGW_PACKAGE_PREFIX}-libtool"
"${MINGW_PACKAGE_PREFIX}-pkgconf")
source=("https://downloads.sourceforge.net/sourceforge/${_realname}/${_realname}-${pkgver}.tar.bz2")
sha256sums=("af254788be98861f2bd9103fe6e60a774ec96a8c374744eef9197f6043075afa")

build() {
cd "${srcdir}"/${_realname}-${pkgver}
cd ${_realname}-${pkgver}

./configure \
--prefix=${MINGW_PREFIX} \
--{build,host}=${MINGW_CHOST} \
--build=${MINGW_CHOST} \
--disable-dependency-tracking \
--disable-werror \
--disable-internal-libjaylink \
Expand All @@ -44,7 +45,7 @@ build() {
}

package() {
cd "${srcdir}"/${_realname}-${pkgver}
cd ${_realname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING ${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING

Expand Down

0 comments on commit 1735246

Please sign in to comment.