diff options
author | Linux User <rattle@raspberry.my.domain> | 2017-10-04 18:11:29 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-09 15:42:10 +0000 |
commit | 81aea5dc40f3a144951a8e36024596a4a21800c8 (patch) | |
tree | 413aba1fcdb63049ea35279e37c092d029d03ba1 /community/libftdi1 | |
parent | 9a72869c28a1b5131b2a2a8f49323867611d7019 (diff) | |
download | aports-81aea5dc40f3a144951a8e36024596a4a21800c8.tar.bz2 aports-81aea5dc40f3a144951a8e36024596a4a21800c8.tar.xz |
community/libftdi1: upgrade to 1.4
Diffstat (limited to 'community/libftdi1')
-rw-r--r-- | community/libftdi1/APKBUILD | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/community/libftdi1/APKBUILD b/community/libftdi1/APKBUILD index 501dff1987..8cd42e930c 100644 --- a/community/libftdi1/APKBUILD +++ b/community/libftdi1/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Stefan Wagner <stw@bit-strickerei.de> # Maintainer: Stefan Wagner <stw@bit-strickerei.de> pkgname=libftdi1 -pkgver=1.3 -pkgrel=1 +pkgver=1.4 +pkgrel=0 pkgdesc="A library to talk to FTDI chips" url="http://www.intra2net.com/en/developer/libftdi/download.php" arch="all" @@ -15,38 +15,32 @@ source="http://www.intra2net.com/en/developer/libftdi/download/${pkgname}-${pkgv builddir="$srcdir/$pkgname-$pkgver" build() { - mkdir "$builddir/build" || return 1 + mkdir "$builddir/build" cd "$builddir/build" cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_SKIP_BUILD_RPATH=ON \ -DCMAKE_BUILD_TYPE=Release \ -DEXAMPLES=OFF \ - -DFTDI_EEPROM=ON .. \ - || return 1 - make || return 1 + -DFTDI_EEPROM=ON .. + make } package() { cd "$builddir/build" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/etc/udev/rules.d/ install -Dm644 ../packages/99-libftdi.rules \ - "$pkgdir"/etc/udev/rules.d/99-$pkgname.rules \ - || return 1 + "$pkgdir"/etc/udev/rules.d/99-$pkgname.rules mkdir -p "$pkgdir"/usr/share/doc/$pkgname/ \ - "$pkgdir"/usr/share/man/man3/ || return 1 + "$pkgdir"/usr/share/man/man3/ install -m644 doc/html/* \ - "$pkgdir"/usr/share/doc/$pkgname/ || return 1 + "$pkgdir"/usr/share/doc/$pkgname/ install -m644 doc/man/man3/ftdi_eeprom.3 \ - "$pkgdir"/usr/share/man/man3/ || return 1 + "$pkgdir"/usr/share/man/man3/ } -md5sums="156cdf40cece9f8a3ce1582db59a502a libftdi1-1.3.tar.bz2 -de07c454042cd2d943c6495e4680d869 01-CMakeLists-no-lib-suffix.patch" -sha256sums="9a8c95c94bfbcf36584a0a58a6e2003d9b133213d9202b76aec76302ffaa81f4 libftdi1-1.3.tar.bz2 -8a2a7524917c8b6a11792baaeac5a6ad41715a0cb0fd739637ce21e5b770bbf2 01-CMakeLists-no-lib-suffix.patch" -sha512sums="792aa5ecb42cb219fb0230d7b68d1b0370fd28e7dc30f28900a23199b1067812616cd9f4f8492cddb1314d0515cd87d67a045354184b611e647ef9c33fc7932a libftdi1-1.3.tar.bz2 +sha512sums="dbab74f7bc35ca835b9c6dd5b70a64816948d65da1f73a9ece37a0f0f630bd0df1a676543acc517b02a718bc34ba4f7a30cbc48b6eed1c154c917f8ef0a358fc libftdi1-1.4.tar.bz2 5583fcb66414d9668bcbff0ad8a688f419414040b9480e24edde8de9f0fecb4bf4e06db7bfb0b7542fd44eff712ad7f72c8c32b5dc27885c26f1707b06485f1b 01-CMakeLists-no-lib-suffix.patch" |