Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=70aa03b4df12c584eafb7ef368aaabfeab6d9b11

commit 70aa03b4df12c584eafb7ef368aaabfeab6d9b11
Author: Laszlo Papp <djsz...@archlinux.us>
Date:   Mon Nov 2 06:26:00 2009 +0900

libftd2xx-0.4.16-1-x86_64

* new package

diff --git a/source/lib-extra/libftd2xx/55-ft2232.rules 
b/source/lib-extra/libftd2xx/55-ft2232.rules
new file mode 100644
index 0000000..b1afe49
--- /dev/null
+++ b/source/lib-extra/libftd2xx/55-ft2232.rules
@@ -0,0 +1,6 @@
+SUBSYSTEM!="usb|usb_device", GOTO="ft2232_rules_end"
+ACTION!="add", GOTO="ft2232_rules_end"
+
+ATTRS{idVendor}=="0403", ATTRS{idProduct}=="cff8", MODE="0660", GROUP="tty"
+
+LABEL="ft2232_rules_end"
diff --git a/source/lib-extra/libftd2xx/FrugalBuild 
b/source/lib-extra/libftd2xx/FrugalBuild
new file mode 100644
index 0000000..d98b0c0
--- /dev/null
+++ b/source/lib-extra/libftd2xx/FrugalBuild
@@ -0,0 +1,39 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: Elentir <elen...@mailoo.org>
+# Contributor: Laszlo Papp <djszapi at archlinux.us>
+
+pkgname=libftd2xx
+pkgver=0.4.16
+pkgrel=1
+pkgdesc="Library that allows a direct access to a USB FTDI2XX chip based 
device"
+url="http://www.ftdichip.com";
+depends=('glibc')
+groups=('lib-extra')
+archs=('i686' 'x86_64')
+Fpkgversep=""
+up2date="Flasttar $url/Drivers/D2XX.htm"
+
+if [ $CARCH = 'x86_64' ] ; then
+       source=("$url/Drivers/D2XX/Linux/${pkgname}${pkgver}_x86_64.tar.gz"
+               "55-ft2232.rules")
+       sha1sums=('bc7067b4feb068346001482a37d9fe03bac41819' \
+               '283a8d00054a663d13c9faf7eabd525f081b94c6')
+else
+       source=("$url/Drivers/D2XX/Linux/${pkgname}${pkgver}.tar.gz" \
+               "55-ft2232.rules")
+       sha1sums=('4aa0d18b7d8f2c42c2d880e0c3feb75d0e9a80f4' \
+               '283a8d00054a663d13c9faf7eabd525f081b94c6')
+fi
+
+build()
+{
+  Fcd ${pkgname}${pkgver}_${CARCH}
+  Fexerel ${pkgname}.so.${pkgver} usr/lib/${pkgname}.so.${pkgver}
+  Fln ${pkgname}.so.${pkgver} /usr/lib/${pkgname}.so
+  Fexerel static_lib/${pkgname}.a.${pkgver} usr/lib/${pkgname}.a.${pkgver}
+  Fln ${pkgname}.a.${pkgver} /usr/lib/${pkgname}.a
+  Ffilerel ftd2xx.h usr/include/ftd2xx.h
+  Ffilerel WinTypes.h usr/include/WinTypes.h
+  Ffilerel ../55-ft2232.rules usr/udev/rules.d/55-ft2232.rules
+}
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to