aboutsummaryrefslogtreecommitdiffstats
path: root/main/uvncrepeater/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-21 10:11:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-21 10:11:58 +0000
commit110ed65ec53ccfb6ab5e9acd55b4318bb90cb19e (patch)
tree0d808918ff6fca664d3e4ff61a0ffabe7f851cc7 /main/uvncrepeater/APKBUILD
parent6c5d758798572eadb08e582e6d35c5677bed5319 (diff)
downloadaports-110ed65ec53ccfb6ab5e9acd55b4318bb90cb19e.tar.bz2
aports-110ed65ec53ccfb6ab5e9acd55b4318bb90cb19e.tar.xz
main/uvncrepeater: moved from testing
Diffstat (limited to 'main/uvncrepeater/APKBUILD')
-rw-r--r--main/uvncrepeater/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/main/uvncrepeater/APKBUILD b/main/uvncrepeater/APKBUILD
new file mode 100644
index 0000000000..d4464fe11a
--- /dev/null
+++ b/main/uvncrepeater/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor:
+# Maintainer:
+pkgname=uvncrepeater
+pkgver=014
+pkgrel=1
+pkgdesc="VNC repeater based on ultravnc repeater"
+url="http://koti.mbnet.fi/jtko/"
+license="GPL-2"
+depends="openrc>=0.6"
+makedepends=
+install="$pkgname.pre-install"
+subpackages=
+source="http://koti.mbnet.fi/jtko/uvncrepeater/repeater$pkgver.zip
+ uvncrepeater.confd
+ uvncrepeater.initd"
+
+_builddir="$srcdir"/Ver$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # respect our CXX and CFLAGS
+ sed -i -e 's/g++/$(CXX)/g' \
+ -e "/^CFLAGS/d" Makefile
+}
+
+build() {
+ cd "$_builddir"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -Dm755 repeater "$pkgdir"/usr/bin/repeater
+ install -Dm644 uvncrepeater.ini "$pkgdir"/etc/uvncrepeater.ini
+ install -Dm755 "$srcdir"/uvncrepeater.initd \
+ "$pkgdir"/etc/init.d/uvncrepeater
+ install -Dm755 "$srcdir"/uvncrepeater.confd \
+ "$pkgdir"/etc/conf.d/uvncrepeater
+}
+
+md5sums="3005ebbb2f9442cbea4cbcaa71925dbf repeater014.zip
+9a789921340c123ea1c35d7e64563c64 uvncrepeater.confd
+a9c614f7bfeef4f68db7cd9d87a6bdf6 uvncrepeater.initd"