aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mystun-server/mystun-server_cvs.bb
blob: 09766278b05bb627c7576da0a2dcffd356c7a050 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "STUN server used to determine IP behind NAT firewall"
HOMEPAGE = "http://developer.berlios.de/projects/mystun/"
SECTION = "console/telephony"
PRIORITY = "optional"
LICENSE = "GPL"
PV = "1:0.0+cvs${SRCDATE}"

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
}