diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-10-01 11:16:47 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-10-01 11:17:55 +0300 |
commit | efdc2d1f01d104449fe029f22dd17561ea804552 (patch) | |
tree | 8d6a4db7ee178f66f935f94545debb5e3520e97a /testing | |
parent | 1e54065f5c3a352864d535379c674ef5e93df565 (diff) | |
download | aports-efdc2d1f01d104449fe029f22dd17561ea804552.tar.bz2 aports-efdc2d1f01d104449fe029f22dd17561ea804552.tar.xz |
testing/qextserialport: new aport
Interface to serial ports for Qt application
http://code.google.com/p/qextserialport/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/qextserialport/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/qextserialport/APKBUILD b/testing/qextserialport/APKBUILD new file mode 100644 index 0000000000..a4c2c79103 --- /dev/null +++ b/testing/qextserialport/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=qextserialport +pkgver=1.2_beta2 +_pkgver=1.2beta2 +pkgrel=0 +pkgdesc="Interface to serial ports for Qt application" +url="http://code.google.com/p/qextserialport/" +arch="all" +license="MIT" +depends="" +depends_dev="qt-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://qextserialport.googlecode.com/files/qextserialport-$_pkgver.tar.gz" + +_builddir="$srcdir"/qextserialport-$_pkgver +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 + echo "QEXTSERIALPORT_LIBRARY=yes" > config.pri +} + +build() { + cd "$_builddir" + qmake && make +} + +package() { + cd "$_builddir" + make INSTALL_ROOT="$pkgdir" install +} + +dev() { + default_dev + cd "$pkgdir" || return 1 + mv usr/share $subpkgdir/usr +} + +md5sums="813468066ab745d95dff79e5ed4147bd qextserialport-1.2beta2.tar.gz" |