summaryrefslogtreecommitdiff
path: root/package/siproxd/Makefile
blob: 2ece5098585a521539dd38ba552fe4fdc773d273 (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
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		siproxd
PKG_VERSION:=		0.8.1
PKG_RELEASE:=		1
PKG_MD5SUM:=		1a6f9d13aeb2d650375c9a346ac6cbaf
PKG_DESCR:=		a SIP (Session Initiation Protocol) proxy
PKG_SECTION:=		proxy
PKG_DEPENDS:=		libosip2 libpthread
PKG_BUILDDEP:=		autotool libosip2
PKG_URL:=		http://siproxd.sourceforge.net
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=siproxd/}

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,SIPROXD,siproxd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

AUTOTOOL_STYLE:=	autoreconf

siproxd-install:
	${INSTALL_DIR} ${IDIR_SIPROXD}/usr/sbin ${IDIR_SIPROXD}/etc
	${INSTALL_DATA} ${WRKINST}/etc/siproxd.conf.example \
		${IDIR_SIPROXD}/etc/siproxd.conf
	${INSTALL_DATA} ${WRKINST}/etc/siproxd_passwd.cfg ${IDIR_SIPROXD}/etc/
	${INSTALL_BIN} ${WRKINST}/usr/sbin/siproxd ${IDIR_SIPROXD}/usr/sbin/

include ${TOPDIR}/mk/pkg-bottom.mk