summaryrefslogtreecommitdiff
path: root/cross/stlink
diff options
context:
space:
mode:
authorryoon <ryoon>2015-12-10 23:04:25 +0000
committerryoon <ryoon>2015-12-10 23:04:25 +0000
commit148f6c8d32db48a24444bd7336305de145919c56 (patch)
treead33195ebb0a0133e09dbdceda01da66a23a7439 /cross/stlink
parentf39f4a42f6669f0eba3b679759ffa49dec396269 (diff)
downloadpkgsrc-148f6c8d32db48a24444bd7336305de145919c56.tar.gz
Import stlink-1.1.0 as cross/stlink.
STMicroelectronics STM32 Discovery line programming tool. STLINK supports STLINKv1 and STLINKv2 protocol.
Diffstat (limited to 'cross/stlink')
-rw-r--r--cross/stlink/DESCR2
-rw-r--r--cross/stlink/Makefile22
-rw-r--r--cross/stlink/PLIST5
-rw-r--r--cross/stlink/distinfo6
4 files changed, 35 insertions, 0 deletions
diff --git a/cross/stlink/DESCR b/cross/stlink/DESCR
new file mode 100644
index 00000000000..019b3bca321
--- /dev/null
+++ b/cross/stlink/DESCR
@@ -0,0 +1,2 @@
+STMicroelectronics STM32 Discovery line programming tool.
+STLINK supports STLINKv1 and STLINKv2 protocol.
diff --git a/cross/stlink/Makefile b/cross/stlink/Makefile
new file mode 100644
index 00000000000..52d451d54ed
--- /dev/null
+++ b/cross/stlink/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2015/12/10 23:04:25 ryoon Exp $
+
+DISTNAME= stlink-1.1.0
+CATEGORIES= cross
+MASTER_SITES= ${MASTER_SITE_GITHUB:=texane/}
+GITHUB_PROJECT= stlink
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= https://github.com/texane/stlink
+COMMENT= STM32 Discovery STLINKv1/v2 programming tool
+LICENSE= modified-bsd
+
+USE_TOOLS+= automake pkg-config
+GNU_CONFIGURE= yes
+
+pre-configure:
+ cd ${WRKSRC} && \
+ aclocal; autoheader; automake -a --foreign -i; autoconf
+
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cross/stlink/PLIST b/cross/stlink/PLIST
new file mode 100644
index 00000000000..1c8ec4ceef9
--- /dev/null
+++ b/cross/stlink/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2015/12/10 23:04:25 ryoon Exp $
+bin/st-flash
+bin/st-info
+bin/st-term
+bin/st-util
diff --git a/cross/stlink/distinfo b/cross/stlink/distinfo
new file mode 100644
index 00000000000..77c2ee2c4b6
--- /dev/null
+++ b/cross/stlink/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/12/10 23:04:25 ryoon Exp $
+
+SHA1 (stlink-1.1.0.tar.gz) = 60ab8c52b6d55909d7ac831ecfd1a7faaba4ea86
+RMD160 (stlink-1.1.0.tar.gz) = 9400ed5d50c04344493045e9a117ace614d5121f
+SHA512 (stlink-1.1.0.tar.gz) = 5a9fcb97de84b55c57751e251743ad7641a26e9a2da7e9292beb013a828bffc9e41eb3e052d62c5fddca3fd55b03fcb8faf3158eea2cd944d84fb978acf82a92
+Size (stlink-1.1.0.tar.gz) = 201430 bytes