openbsd-ports/devel/openocd/Makefile
sthen 878aa21199 update to OpenOCD 0.6.1, change to new homepage etc.
thanks Raphael Graf for testing - maintainer timeout
2013-02-07 00:02:30 +00:00

52 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2013/02/07 00:02:30 sthen Exp $
COMMENT = Open On-Chip Debugging
DISTNAME = openocd-0.6.1
CATEGORIES = devel
SHARED_LIBS += openocd 1.0 # unknown
HOMEPAGE = http://openocd.sourceforge.net/
MAINTAINER = Sylvestre Gallon <ccna.syl@gmail.com>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c ftdi jim m pthread usb usb-1.0
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=openocd/}
EXTRACT_SUFX = .tar.bz2
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --disable-werror \
--disable-wextra \
--enable-arm-jtag-ew \
--enable-at91rm9200 \
--enable-ep93xx \
--enable-ft2232_libftdi \
--enable-jlink \
--enable-presto_libftdi \
--enable-rlink \
--enable-usbprog \
--enable-vsllink \
--enable-ulink \
--enable-buspirate \
--disable-internal-jimtcl
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include " \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
LIB_DEPENDS = devel/libftdi \
lang/jimtcl
USE_GMAKE = Yes
USE_LIBTOOL = Yes
NO_REGRESS = Yes
.include <bsd.port.mk>