[arch-commits] Commit in libftdi/repos (2 files)
Date: Monday, November 9, 2020 @ 18:15:38 Author: felixonmars Revision: 747905 archrelease: copy trunk to community-staging-x86_64 Added: libftdi/repos/community-staging-x86_64/ libftdi/repos/community-staging-x86_64/PKGBUILD (from rev 747904, libftdi/trunk/PKGBUILD) --+ PKGBUILD | 49 + 1 file changed, 49 insertions(+) Copied: libftdi/repos/community-staging-x86_64/PKGBUILD (from rev 747904, libftdi/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-09 18:15:38 UTC (rev 747905) @@ -0,0 +1,49 @@ +# Maintainer: Kyle Keen + +# bug, python binding vanished with 3.4 +# Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) + +pkgname=libftdi +pkgver=1.4 +pkgrel=5 +pkgdesc="A library to talk to FTDI chips, optional python bindings." +arch=('x86_64') +url="https://www.intra2net.com/en/developer/libftdi/download.php; +license=('GPL2' 'LGPL2.1') +depends=('libusb' 'confuse') +optdepends=('python: library bindings') +makedepends=('boost' 'cmake' 'python' 'swig') +# doxygen for docs, confuse for eeprom +source=(https://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig}) +sha1sums=('5b14cebab8168e12dd6c2b5325a29ad93ed40f3d' + 'SKIP') +validpgpkeys=('3CEA9B8868BC3852618EB5B4707F91A424F006F5') # Intra2net open source + +prepare() { + cd "${pkgname}1-$pkgver" + sed -i 's|LIB_SUFFIX 64|LIB_SUFFIX ""|' CMakeLists.txt + sed -i "s|MODE=\"0664\", GROUP=\"plugdev\"|TAG+=\"uaccess\"|g" packages/99-libftdi.rules +} + +build() { + cd "$srcdir/${pkgname}1-$pkgver" + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=ON \ +-DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=ON + make +} + +# needs yet unknown dependencies +#check() { +# cd "$srcdir/${pkgname}1-$pkgver/build" +# make check +#} + +package() { + cd "${pkgname}1-$pkgver/build" + make DESTDIR="$pkgdir" install + install -Dm644 "../packages/99-libftdi.rules" "$pkgdir/usr/lib/udev/rules.d/69-libftdi.rules" + # FS#45053 + cp -r ../examples/* "$pkgdir/usr/share/libftdi/examples" +}
[arch-commits] Commit in libftdi/repos (2 files)
Date: Friday, October 25, 2019 @ 20:25:12 Author: foutrelis Revision: 519859 archrelease: copy trunk to community-staging-x86_64 Added: libftdi/repos/community-staging-x86_64/ libftdi/repos/community-staging-x86_64/PKGBUILD (from rev 519858, libftdi/trunk/PKGBUILD) --+ PKGBUILD | 50 ++ 1 file changed, 50 insertions(+) Copied: libftdi/repos/community-staging-x86_64/PKGBUILD (from rev 519858, libftdi/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-10-25 20:25:12 UTC (rev 519859) @@ -0,0 +1,50 @@ +# Maintainer: Kyle Keen + +# bug, python binding vanished with 3.4 +# Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) + +pkgname=libftdi +pkgver=1.4 +pkgrel=3 +pkgdesc="A library to talk to FTDI chips, optional python bindings." +arch=('x86_64') +url="https://www.intra2net.com/en/developer/libftdi/download.php; +license=('GPL2' 'LGPL2.1') +depends=('libusb' 'confuse') +optdepends=('python: library bindings') +makedepends=('boost' 'cmake' 'python' 'swig') +# doxygen for docs, confuse for eeprom +source=(https://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig}) +sha1sums=('5b14cebab8168e12dd6c2b5325a29ad93ed40f3d' + 'SKIP') +validpgpkeys=('3CEA9B8868BC3852618EB5B4707F91A424F006F5') # Intra2net open source + +prepare() { + cd "${pkgname}1-$pkgver" + sed -i 's|LIB_SUFFIX 64|LIB_SUFFIX ""|' CMakeLists.txt + sed -i "s|MODE=\"0664\", GROUP=\"plugdev\"|TAG+=\"uaccess\"|g" packages/99-libftdi.rules +} + +build() { + cd "$srcdir/${pkgname}1-$pkgver" + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=ON \ +-DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=ON + make +} + +# needs yet unknown dependencies +#check() { +# cd "$srcdir/${pkgname}1-$pkgver/build" +# make check +#} + +package() { + cd "${pkgname}1-$pkgver/build" + make DESTDIR="$pkgdir" install + install -Dm644 "../packages/99-libftdi.rules" "$pkgdir/usr/lib/udev/rules.d/69-libftdi.rules" + # FS#45053 + cp -r ../examples/* "$pkgdir/usr/share/libftdi/examples" +} +
[arch-commits] Commit in libftdi/repos (2 files)
Date: Sunday, July 8, 2018 @ 13:46:46 Author: foutrelis Revision: 354904 archrelease: copy trunk to community-staging-x86_64 Added: libftdi/repos/community-staging-x86_64/ libftdi/repos/community-staging-x86_64/PKGBUILD (from rev 354903, libftdi/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: libftdi/repos/community-staging-x86_64/PKGBUILD (from rev 354903, libftdi/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-07-08 13:46:46 UTC (rev 354904) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Kyle Keen + +# bug, python binding vanished with 3.4 +# Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) + +pkgname=libftdi +pkgver=1.4 +pkgrel=2 +pkgdesc="A library to talk to FTDI chips, optional python bindings." +arch=('x86_64') +url="http://www.intra2net.com/en/developer/libftdi/download.php; +license=('GPL2' 'LGPL2.1') +depends=('libusb' 'confuse') +optdepends=('python: library bindings') +makedepends=('boost' 'cmake' 'python' 'swig') +# doxygen for docs, confuse for eeprom +source=(http://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig}) +sha1sums=('5b14cebab8168e12dd6c2b5325a29ad93ed40f3d' + 'SKIP') +validpgpkeys=('3CEA9B8868BC3852618EB5B4707F91A424F006F5') # Intra2net open source + +prepare() { + cd "${pkgname}1-$pkgver" + sed -i 's|LIB_SUFFIX 64|LIB_SUFFIX ""|' CMakeLists.txt + sed -i "s|MODE=\"0664\", GROUP=\"plugdev\"|TAG+=\"uaccess\"|g" packages/99-libftdi.rules +} + +build() { + cd "$srcdir/${pkgname}1-$pkgver" + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=ON \ +-DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=ON + make +} + +# needs yet unknown dependencies +#check() { +# cd "$srcdir/${pkgname}1-$pkgver/build" +# make check +#} + +package() { + cd "${pkgname}1-$pkgver/build" + make DESTDIR="$pkgdir" install + install -Dm644 "../packages/99-libftdi.rules" "$pkgdir/usr/lib/udev/rules.d/69-libftdi.rules" + # FS#45053 + cp -r ../examples/* "$pkgdir/usr/share/libftdi/examples" +} +
[arch-commits] Commit in libftdi/repos (2 files)
Date: Friday, December 8, 2017 @ 17:40:29 Author: anatolik Revision: 273339 archrelease: copy trunk to community-testing-x86_64 Added: libftdi/repos/community-testing-x86_64/ libftdi/repos/community-testing-x86_64/PKGBUILD (from rev 273338, libftdi/trunk/PKGBUILD) --+ PKGBUILD | 51 +++ 1 file changed, 51 insertions(+) Copied: libftdi/repos/community-testing-x86_64/PKGBUILD (from rev 273338, libftdi/trunk/PKGBUILD) === --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-12-08 17:40:29 UTC (rev 273339) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Kyle Keen+ +# bug, python binding vanished with 3.4 +# Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) + +pkgname=libftdi +pkgver=1.4 +pkgrel=1 +pkgdesc="A library to talk to FTDI chips, optional python bindings." +arch=('x86_64') +url="http://www.intra2net.com/en/developer/libftdi/download.php; +license=('GPL2' 'LGPL2.1') +depends=('libusb' 'confuse') +optdepends=('python: library bindings') +makedepends=('boost' 'cmake' 'python' 'swig') +# doxygen for docs, confuse for eeprom +source=(http://www.intra2net.com/en/developer/libftdi/download/${pkgname}1-$pkgver.tar.bz2{,.sig}) +sha1sums=('5b14cebab8168e12dd6c2b5325a29ad93ed40f3d' + 'SKIP') +validpgpkeys=('3CEA9B8868BC3852618EB5B4707F91A424F006F5') # Intra2net open source + +prepare() { + cd "${pkgname}1-$pkgver" + sed -i 's|LIB_SUFFIX 64|LIB_SUFFIX ""|' CMakeLists.txt + sed -i "s|MODE=\"0664\", GROUP=\"plugdev\"|TAG+=\"uaccess\"|g" packages/99-libftdi.rules +} + +build() { + cd "$srcdir/${pkgname}1-$pkgver" + mkdir -p build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_BUILD_RPATH=ON \ +-DCMAKE_BUILD_TYPE=Release -DEXAMPLES=OFF -DFTDI_EEPROM=ON + make +} + +# needs yet unknown dependencies +#check() { +# cd "$srcdir/${pkgname}1-$pkgver/build" +# make check +#} + +package() { + cd "${pkgname}1-$pkgver/build" + make DESTDIR="$pkgdir" install + install -Dm644 "../packages/99-libftdi.rules" "$pkgdir/usr/lib/udev/rules.d/69-libftdi.rules" + # FS#45053 + cp -r ../examples/* "$pkgdir/usr/share/libftdi/examples" +} +