Add libftdi, a library to interface with ftdi usb-serial chips.

with comments and ok from sthen@.
This commit is contained in:
matthieu 2009-01-07 21:35:59 +00:00
parent 4b9cef96dc
commit 8621a79f3d
5 changed files with 54 additions and 0 deletions

31
devel/libftdi/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1 2009/01/07 21:35:59 matthieu Exp $
COMMENT = libftdi, interface to ftdi debug device
CATEGORIES = devel
DISTNAME = libftdi-0.14
SHARED_LIBS = ftdi 15.0
HOMEPAGE = http://www.intra2net.com/de/produkte/opensource/ftdi/
LIB_DEPENDS = usb::devel/libusb
# configure picks up doxygen if installed, but doesn't affect packaging.
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c
MASTER_SITES = ${HOMEPAGE}TGZ/
CONFIGURE_STYLE = gnu
USE_LIBTOOL = Yes
NO_REGRESS = Yes
.include <bsd.port.mk>

5
devel/libftdi/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (libftdi-0.14.tar.gz) = Q/IEeOclqlumza4xHKBZPQ==
RMD160 (libftdi-0.14.tar.gz) = YIYXglrna2Q+9xX8f+1FtOaujes=
SHA1 (libftdi-0.14.tar.gz) = bD8WCZWKWKaZPtyvbmr1BQ1xSLI=
SHA256 (libftdi-0.14.tar.gz) = tXXsBSbvrfS9bIr0ximVr/ZVbJ/8r0clNz28/9o1QXU=
SIZE (libftdi-0.14.tar.gz) = 368634

2
devel/libftdi/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
A library to talk to FTDI chips: FT232BM/245BM, FT2232C/D and FT232/245R
using libusb, including the popular bitbang mode.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1 2009/01/07 21:35:59 matthieu Exp $
@lib lib/libftdi.so.${LIBftdi_VERSION}

14
devel/libftdi/pkg/PLIST Normal file
View File

@ -0,0 +1,14 @@
@comment $OpenBSD: PLIST,v 1.1 2009/01/07 21:35:59 matthieu Exp $
%%SHARED%%
@bin bin/bitbang
@bin bin/bitbang2
@bin bin/bitbang_cbus
@bin bin/bitbang_ft2232
@bin bin/find_all
bin/libftdi-config
@bin bin/simple
include/ftdi.h
lib/libftdi.a
lib/libftdi.la
lib/pkgconfig/
lib/pkgconfig/libftdi.pc