summaryrefslogtreecommitdiff
path: root/packages/mystun-server/mystun-server_cvs.bb
blob: cc2a5b4298a0b49448076fc655bb93d04f3ff061 (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
DESCRIPTION = "STUN server used to determine IP behind NAT firewall"
HOMEPAGE = "http://developer.berlios.de/projects/mystun/"
MAINTAINER = "Sven-Ola Tuecke <sven-ola@gmx.de>"
SECTION = "console/telephony"
PRIORITY = "optional"
LICENSE = "GPL"
PV = "cvs${CVSDATE}"

SRC_URI="cvs://anonymous@cvs.mystun.berlios.de/cvsroot/mystun;module=mystun \
	file://init \
	file://nossl.patch;patch=1"

S = "${WORKDIR}/mystun"

do_compile() {
	oe_runmake LIBS=-lpthread CFLAGS= server
}

do_install() {
	install -d ${D}/${sysconfdir}/init.d
	install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/mystun-server
	install -d ${D}${sbindir}
	install -m 0755 ${S}/server.exe ${D}${sbindir}/mystun-server
}