summaryrefslogtreecommitdiff
path: root/package/pipacs/Makefile
blob: 95379106fb8149a3793c0105e6f772b15c197b95 (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:=		pipacs
PKG_RELEASE:=		2
PKG_DESCR:=		an UNIX socket accounting/wiewer program
PKG_SECTION:=		net

WRKDIST=		${WRKDIR}/${PKG_NAME}
NO_DISTFILES:=		1

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,PIPACS,${PKG_NAME},${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

BUILD_STYLE:=		auto
MAKE_FLAGS+=		CFLAGS="${TCFLAGS} ${TCPPFLAGS}" \
			${TARGET_CONFIGURE_OPTS}

do-configure:
	mkdir -p ${WRKBUILD}
	${CP} ./src/* ${WRKBUILD}

do-install:
	${INSTALL_DIR} ${IDIR_PIPACS}/usr/bin
	${INSTALL_BIN} ${WRKBUILD}/pipacs ${IDIR_PIPACS}/usr/bin

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