From efdc2d1f01d104449fe029f22dd17561ea804552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 1 Oct 2012 11:16:47 +0300 Subject: testing/qextserialport: new aport Interface to serial ports for Qt application http://code.google.com/p/qextserialport/ --- testing/qextserialport/APKBUILD | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 testing/qextserialport/APKBUILD (limited to 'testing') diff --git a/testing/qextserialport/APKBUILD b/testing/qextserialport/APKBUILD new file mode 100644 index 000000000..a4c2c7910 --- /dev/null +++ b/testing/qextserialport/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: Timo Teräs +# Maintainer: Timo Teräs +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" -- cgit v1.2.3