openbsd-ports/devel/libftdi/Makefile
2013-03-21 08:45:11 +00:00

33 lines
646 B
Makefile

# $OpenBSD: Makefile,v 1.8 2013/03/21 08:45:15 ajacoutot Exp $
COMMENT = libftdi, interface to ftdi debug device
CATEGORIES = devel
DISTNAME = libftdi-0.18
REVISION = 1
SHARED_LIBS = ftdi 15.1 # 19.0
HOMEPAGE = http://www.intra2net.com/en/developer/libftdi/
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c usb pthread usb-1.0
MASTER_SITES = ${HOMEPAGE}/download/
LIB_DEPENDS = devel/libusb-compat
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS+= --disable-libftdipp \
--disable-python-bindings \
--without-docs
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
NO_TEST = Yes
.include <bsd.port.mk>