blob: a6732b941331f970e8a722e02ab3fe5effa854bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor:
# Maintainer:
pkgname=uvncrepeater
pkgver=014
pkgrel=2
pkgdesc="VNC repeater based on ultravnc repeater"
url="http://koti.mbnet.fi/jtko/"
arch="all"
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"
|