summaryrefslogtreecommitdiff
path: root/community/libftdi/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-23 16:15:08 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-23 16:15:08 -0300
commit44ae571c1d57a21af2c915b42bb656cf0d69c9ee (patch)
tree757e53f443e27a95d1b1b0cdf337c2147953fc46 /community/libftdi/PKGBUILD
parenteadbb9961b89668e4aed317f5dd97cb04e86663e (diff)
parent1d20e4962664ab152948a14b4320b12204a1053e (diff)
Merge branch 'master' of gparabola:abslibre/abslibre-pre-mips64el
Conflicts: community/libftdi/PKGBUILD community/lxshortcut/PKGBUILD community/pcmanfm/PKGBUILD community/qingy/PKGBUILD community/yagf/PKGBUILD extra/ethtool/PKGBUILD extra/gptfdisk/PKGBUILD extra/postgresql/PKGBUILD extra/xfburn/PKGBUILD libre/linux-libre/PKGBUILD
Diffstat (limited to 'community/libftdi/PKGBUILD')
-rw-r--r--community/libftdi/PKGBUILD21
1 files changed, 15 insertions, 6 deletions
diff --git a/community/libftdi/PKGBUILD b/community/libftdi/PKGBUILD
index 047615a8e..02c91cfba 100644
--- a/community/libftdi/PKGBUILD
+++ b/community/libftdi/PKGBUILD
@@ -1,15 +1,17 @@
-# $Id: PKGBUILD 105529 2014-02-09 17:42:22Z kkeen $
+# $Id: PKGBUILD 105985 2014-02-20 16:15:43Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=libftdi
pkgver=1.1
-pkgrel=2
-pkgdesc="A library to talk to FTDI chips"
+pkgrel=3
+pkgdesc="A library to talk to FTDI chips, optional python bindings."
arch=('i686' 'x86_64' 'mips64el')
url="http://www.intra2net.com/en/developer/libftdi/download.php"
license=('GPL2' 'LGPL2.1')
depends=('libusbx')
-makedepends=('boost' 'cmake')
+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=('f05ade5614aa31e64f91a30ce3782f7ca3704d18'
'SKIP')
@@ -20,15 +22,22 @@ prepare() {
}
build() {
- cd "${pkgname}1-$pkgver"
- mkdir 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=OFF
make
}
+# needs yet unknown dependencies
+#check() {
+# cd "$srcdir/${pkgname}1-$pkgver/build"
+# make check
+#}
+
package() {
cd "${pkgname}1-$pkgver/build"
make DESTDIR="$pkgdir" install
}
+