aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qpage/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2011-02-24 16:48:39 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2011-02-24 16:48:39 +0000
commitec5a0f7d9a61dfcaeb795c731ec97886fb728cc6 (patch)
tree599858eed14de44884046d5012f035027d8e2679 /testing/qpage/APKBUILD
parentd8a2f456f91b9c46b872764d5a36902a89097317 (diff)
downloadaports-ec5a0f7d9a61dfcaeb795c731ec97886fb728cc6.tar.bz2
aports-ec5a0f7d9a61dfcaeb795c731ec97886fb728cc6.tar.xz
testing/qpage: new aport - Simple SNPP Client/Server
Diffstat (limited to 'testing/qpage/APKBUILD')
-rw-r--r--testing/qpage/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/qpage/APKBUILD b/testing/qpage/APKBUILD
new file mode 100644
index 0000000000..30eff28be0
--- /dev/null
+++ b/testing/qpage/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=qpage
+pkgver=3.3
+pkgrel=0
+pkgdesc="Sends messages to an alphanumeric pager via TAP protocol."
+url="http://www.qpage.org/"
+arch="all"
+license="Custom"
+depends=""
+depends_dev=
+makedepends="$depends_dev"
+install="$pkgname.pre-install $pkgname.post-install"
+source="saveas-http://archive.debian.org/debian/pool/non-free/q/$pkgname/"$pkgname"_3.3final.orig.tar.gz/$pkgname-$pkgver.tar.gz
+ config.input
+ qpage.initd
+ qpage.patch
+ "
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ 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"
+ cp -f "$srcdir"/config.input "$_builddir" || return 1
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var
+ make || return 1
+}
+package() {
+ mkdir -p "$pkgdir"/usr/bin
+ mkdir -p "$pkgdir"/etc/qpage
+ install -m755 "$_builddir"/$pkgname "$pkgdir"/usr/bin/"$pkgname"
+ install -Dm644 "$_builddir"/example.cf "$pkgdir"/etc/qpage/qpage.conf.example
+}
+
+
+md5sums="eb98faaa51f89db68ecf7668f5294309 qpage-3.3.tar.gz
+3ac8c6e2aede9e195eba2555eb3b4645 config.input
+f439315da04ebdd1e1cc2840171d45d3 qpage.initd
+e8a4a6926973c940fe34dc6c4e892606 qpage.patch"