include $(TOPDIR)/rules.mk
PKG_NAME:=openocd
-PKG_SOURCE_VERSION:=v0.12.0
-PKG_RELEASE:=3
+PKG_VERSION:=0.12.0
+PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
+PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE_URL:=https://git.code.sf.net/p/openocd/code
-PKG_MIRROR_HASH:=a8e0d311b6ebecb6d43b7c75ec59ec3efb0b0a2e424a959a2667975d4acb0829
+PKG_MIRROR_HASH:=7fa2476feff229e6c7674dc27f949f8a573335abfa0b19cf27b9acf3937678f6
+PKG_MAINTAINER:=Paul Fertser <fercerpav@gmail.com>
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=COPYING
-
-PKG_MAINTAINER:=Paul Fertser <fercerpav@gmail.com>
PKG_CPE_ID:=cpe:/a:openocd:open_on-chip_debugger
-PKG_BUILD_PARALLEL:=1
-PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
+PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_openocd_with_usb