aboutsummaryrefslogtreecommitdiffstats
path: root/main/qextserialport
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-03-11 14:05:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-03-11 14:06:13 +0000
commit73701a4aba80f6741c497c90ed1b70b139e32daa (patch)
tree2b4821532203d4c809713b218deb5ba933294039 /main/qextserialport
parentf0a6e4dfffcc62308d97e4d7d55494b28c553242 (diff)
downloadaports-73701a4aba80f6741c497c90ed1b70b139e32daa.tar.bz2
aports-73701a4aba80f6741c497c90ed1b70b139e32daa.tar.xz
main/qextserialport: move from testing
Diffstat (limited to 'main/qextserialport')
-rw-r--r--main/qextserialport/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/qextserialport/APKBUILD b/main/qextserialport/APKBUILD
new file mode 100644
index 0000000000..9ec1e0f801
--- /dev/null
+++ b/main/qextserialport/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=qextserialport
+pkgver=1.2_rc1
+_pkgver=1.2rc
+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.zip"
+
+_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
+}
+
+md5sums="ffa061edb9f64666468d18402eee6108 qextserialport-1.2rc.zip"
+sha256sums="9cbee267aac9830f9944bb1d13872e51fba400aa9afe158e64f0fe265a0176bc qextserialport-1.2rc.zip"
+sha512sums="64835dc89abfa7c17b6470317ff9e48f9136388806d52597b836dcb57b6f2f04dd46ffc217cb62d564863f1cb32c4a4f2c6930838b903ca0b9ef7556a5410b4b qextserialport-1.2rc.zip"