1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libftd2xx |
---|
7 | version 0.1.6 |
---|
8 | revision 1 |
---|
9 | categories devel |
---|
10 | maintainers ranauei@gmail.com |
---|
11 | description FTDI D2xx Driver |
---|
12 | long_description D2XX Driver: allow direct access to the USB device through a DLL. \ |
---|
13 | Devices supported: FT2232H, FT4232H, FT232R, FT245R, FT2232, FT232B, FT245B, FT8U232AM, FT8U245AM |
---|
14 | homepage http://www.ftdichip.com/Drivers/D2XX.htm |
---|
15 | platforms macosx |
---|
16 | distname Universal%20D2XX${version} |
---|
17 | master_sites http://www.ftdichip.com/Drivers/D2XX/MacOSX/UniBin/ |
---|
18 | checksums md5 ce20e3ee5a9f70adc7e2b7bd3a0589e3 \ |
---|
19 | sha1 7d5487068972c97526fc59ec8bea4577df86f520 \ |
---|
20 | rmd160 aa4c2a2f8961ab3382c948ac617f007d0cd4f3af |
---|
21 | use_dmg yes |
---|
22 | use_configure no |
---|
23 | |
---|
24 | build {} |
---|
25 | destroot { |
---|
26 | xinstall -o root -g wheel -d ${destroot}${prefix}/lib |
---|
27 | xinstall -o root -g wheel ${worksrcpath}/D2XX/bin/${name}.${version}.dylib ${destroot}${prefix}/lib |
---|
28 | xinstall -o root -g wheel -d ${destroot}${prefix}/include |
---|
29 | xinstall -o root -g wheel ${worksrcpath}/D2XX/bin/ftd2xx.h ${destroot}${prefix}/include |
---|
30 | xinstall -o root -g wheel ${worksrcpath}/D2XX/Samples/WinTypes.h ${destroot}${prefix}/include |
---|
31 | } |
---|
32 | post-destroot { |
---|
33 | system "ln -sf ${name}.${version}.dylib ${destroot}${prefix}/lib/${name}.dylib" |
---|
34 | system "install_name_tool -id ${prefix}/lib/${name}.${version}.dylib ${destroot}${prefix}/lib/${name}.${version}.dylib" |
---|
35 | } |
---|