Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

libftd2xx-1.1.12 PKGBUILD

By: a guest on Sep 18th, 2012  |  syntax: Bash  |  size: 1.10 KB  |  hits: 48  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Olivier EBLE <olivier.eble at gmail com>
  2. # Contributor: Laszlo Papp <djszapi2 at gmail com>
  3. pkgname=libftd2xx
  4. pkgver=1.1.12
  5. pkgrel=0
  6. pkgdesc="Library that allows a direct access to a USB FTDI2XX chip based device"
  7. arch=('i686' 'x86_64')
  8. url="http://www.ftdichip.com/"
  9. license=('GPL')
  10. depends=('glibc' 'libusb>=1.0.8')
  11. options=(!strip)
  12. install=libftd2xx.install
  13. source=(http://www.ftdichip.com/Drivers/D2XX/Linux/${pkgname}${pkgver}.tar.gz
  14.         55-ft2232.rules)
  15. md5sums=('351635dc393fa24447c8dac95c321cbc'
  16.          '5c6d646c3c5b28db1c3b880a04d4d79c')
  17.  
  18. package() {
  19.   install -d "${pkgdir}"/usr/{lib,include}
  20.  
  21.   install -Dm755 "${srcdir}"/release/build/${CARCH}/${pkgname}.so.${pkgver} "${pkgdir}"/usr/lib/${pkgname}.so.${pkgver}
  22.   ln -sf /usr/lib/${pkgname}.so.${pkgver} "${pkgdir}"/usr/lib/${pkgname}.so
  23.  
  24.   install -Dm644 "${srcdir}"/release/build/${CARCH}/${pkgname}.a "${pkgdir}"/usr/lib/${pkgname}.a
  25.  
  26.   install -m644 "${srcdir}"/release/{ftd2xx,WinTypes}.h "${pkgdir}"/usr/include/
  27.   install -D -m755 "${srcdir}"/55-ft2232.rules "${pkgdir}"/etc/udev/rules.d/55-ft2232.rules
  28. }