summaryrefslogtreecommitdiff
path: root/package/vrrpd/Makefile
blob: ea889f2cb75e2924f1e9db0f2bdb8dba3847ab10 (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
# 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:=		vrrpd
PKG_VERSION:=		1.0
PKG_RELEASE:=		9
PKG_MD5SUM:=		6d5066ea1a6ced817376ca0f54765447
PKG_DESCR:=		virtual router redundancy protocol daemon
PKG_SECTION:=		net/route
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=vrrpd/}

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,VRRPD,vrrpd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIG_STYLE:=          manual
INSTALL_STYLE:=         manual

MAKE_FLAGS:=		CC="${TARGET_CC}" \
			DBG_OPT="" \
			MAIN_OPT="${TARGET_CFLAGS}"
ALL_TARGET:=		vrrpd

do-install:
	${INSTALL_DIR} ${IDIR_VRRPD}/usr/sbin/
	${INSTALL_BIN} ${WRKBUILD}/vrrpd ${IDIR_VRRPD}/usr/sbin/

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