summaryrefslogtreecommitdiff
path: root/package/siproxd/Makefile
blob: 425bfd493e58abdb566642fecacb30e48806d90e (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
# $Id$
#-
# 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.5.12
PKG_RELEASE:=		8
PKG_MD5SUM:=		2fa02bd6f83070593bfc2d383ce614fa
MASTER_SITES:=		${MASTER_SITE_SOURCEFORGE:=siproxd/}

include ${TOPDIR}/mk/package.mk

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

CONFIGURE_STYLE:=	gnu
BUILD_STYLE:=		auto
INSTALL_STYLE:=		auto

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

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