diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-03-12 15:08:06 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-03-12 15:08:06 +0200 |
commit | f5ea8633a085b17f68da6237d4bd5603abe1c298 (patch) | |
tree | be583a3bffe46351392b28862d1a7de156394d77 /testing/qtserialport | |
parent | 7e00da3437a4232ae27221f5e3669f45620c27f3 (diff) | |
download | aports-f5ea8633a085b17f68da6237d4bd5603abe1c298.tar.bz2 aports-f5ea8633a085b17f68da6237d4bd5603abe1c298.tar.xz |
testing/qtserialport: new aport
Interface to serial ports for Qt application
http://qt-project.org/wiki/QtSerialPort
This is the official implementation for Qt5, with Qt4 support as well
and supercedes main/qextserialport.
Diffstat (limited to 'testing/qtserialport')
-rw-r--r-- | testing/qtserialport/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/qtserialport/APKBUILD b/testing/qtserialport/APKBUILD new file mode 100644 index 0000000000..75f08c3fbc --- /dev/null +++ b/testing/qtserialport/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=qtserialport +pkgver=0_git20130311 +_gitrev=ca598083 +pkgrel=0 +pkgdesc="Interface to serial ports for Qt application" +url="http://qt-project.org/wiki/QtSerialPort" +arch="all" +license="LGPL" +depends="" +depends_dev="qt-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::http://qt.gitorious.org/qt/qtserialport/archive-tarball/$_gitrev" + +_builddir="$srcdir"/qt-qtserialport +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + qmake && make +} + +package() { + cd "$_builddir" + make INSTALL_ROOT="$pkgdir" install +} + +md5sums="76edd7b2fbb2bde5b4aa0d9f43edb27a qtserialport-0_git20130311.tar.gz" +sha256sums="80fe4b273a76e5153b98646e1a8f2668792a4c179ffe8f86ccfc140474a855b9 qtserialport-0_git20130311.tar.gz" +sha512sums="855738295d68fe745b507d98d613c70996a089980a6561c7b728c39e433016b1f817a8033c9cb9783535ef1660abfa37007b32185ef5d3f8d059b38ca43e50b4 qtserialport-0_git20130311.tar.gz" |