Date: Sat, 15 Feb 2014 23:04:53 +0000 (UTC) From: "Lev A. Serebryakov" <lev@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344495 - in head/devel: . stlink stlink/files Message-ID: <201402152304.s1FN4rYg060984@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lev Date: Sat Feb 15 23:04:53 2014 New Revision: 344495 URL: http://svnweb.freebsd.org/changeset/ports/344495 QAT: https://qat.redports.org/buildarchive/r344495/ Log: Add ST-Link v1/v2 support utilities. Added: head/devel/stlink/ head/devel/stlink/Makefile (contents, props changed) head/devel/stlink/distinfo (contents, props changed) head/devel/stlink/files/ head/devel/stlink/files/patch-configure.ac (contents, props changed) head/devel/stlink/pkg-descr (contents, props changed) head/devel/stlink/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Feb 15 22:57:51 2014 (r344494) +++ head/devel/Makefile Sat Feb 15 23:04:53 2014 (r344495) @@ -4440,6 +4440,7 @@ SUBDIR += statsvn SUBDIR += stfl SUBDIR += stlfilt + SUBDIR += stlink SUBDIR += stlport SUBDIR += stormlib-ghost++ SUBDIR += str Added: head/devel/stlink/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/Makefile Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= stlink +PORTVERSION= 1.0.0 +CATEGORIES= devel + +MAINTAINER= lev@FreeBSD.org +COMMENT= STM32 ST-Link JTAG variant tools + +LICENSE= BSD + +OPTIONS_DEFINE= GTK3 +OPTIONS_SUB= GTK3 +GTK3_CONFIGURE_ON= --with-gtk +GTK3_USE= GNOME=gtk30 + +USE_GITHUB= yes +GH_ACCOUNT= texane +GH_TAGNAME= ${PORTVERSION} +GH_COMMIT= 7216849 + +USES= gmake pkgconfig +USE_AUTOTOOLS= autoconf automake +GNU_CONFIGURE= yes + +PORTDOCS= README tutorial.pdf + +pre-configure: + cd ${WRKSRC} && ./autogen.sh + +post-install: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README + ${INSTALL_DATA} ${WRKSRC}/doc/tutorial/tutorial.pdf ${STAGEDIR}${DOCSDIR}/tutorial.pdf + +.include <bsd.port.mk> Added: head/devel/stlink/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/distinfo Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,2 @@ +SHA256 (stlink-1.0.0.tar.gz) = 1d1d7599f412d8d8fa4772fd1868612c39ad493dd2c731bdf4b431f84201d813 +SIZE (stlink-1.0.0.tar.gz) = 320236 Added: head/devel/stlink/files/patch-configure.ac ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/files/patch-configure.ac Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,13 @@ +--- configure.ac.orig 2014-02-01 10:35:47.000000000 +0400 ++++ configure.ac 2014-02-15 18:30:35.000000000 +0400 +@@ -21,8 +21,8 @@ + AC_REPLACE_FUNCS(mmap) + + # Checks for libraries. +-PKG_CHECK_MODULES(USB, libusb-1.0 >= 1.0.0,, +- AC_MSG_ERROR([*** Required libusb-1.0 >= 1.0.0 not installed ***])) ++LIBS="$LIBS -lusb" ++ + AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb) + + LIBS="$LIBS $USB_LIBS" Added: head/devel/stlink/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/pkg-descr Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,6 @@ + ST-Link v1 / ST-Link v2 STMicroelectronics JTAG variat support. + + This packahe provide utilities to flash and debug STMicro microcontrollers +via ST-Link v1 / ST-Link v2 protocols. + +WWW: https://github.com/texane/stlink Added: head/devel/stlink/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/stlink/pkg-plist Sat Feb 15 23:04:53 2014 (r344495) @@ -0,0 +1,8 @@ +bin/st-flash +bin/st-info +bin/st-term +bin/st-util +%%GTK3%%bin/stlink-gui +%%GTK3%%%%DATADIR%%/ui/stlink-gui.ui +%%GTK3%%@dirrmtry %%DATADIR%%/ui +%%GTK3%%@dirrmtry %%DATADIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402152304.s1FN4rYg060984>