summaryrefslogtreecommitdiff
path: root/package/p910nd/Makefile
blob: dbcbe367c005ff74097a123f02abd3c2da6ec08a (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:=		p910nd
PKG_VERSION:=		0.7
PKG_RELEASE:=		10
PKG_MD5SUM:=		7bf752532d26c9106f8039db95df3a6b
MASTER_SITES:=		http://www.etherboot.org/p910nd/
DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.bz2

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,P910ND,p910nd,${PKG_VERSION}-${PKG_RELEASE}))

BUILD_STYLE:=		auto
MAKE_FLAGS+=		${TARGET_CONFIGURE_OPTS} \
			CFLAGS="${TARGET_CFLAGS} -DLOCKFILE_DIR=\"\\\"/tmp\\\"\""
ALL_TARGET:=

do-install:
	${INSTALL_DIR} ${IDIR_P910ND}/etc/init.d
	${INSTALL_DIR} ${IDIR_P910ND}/usr/sbin
	${INSTALL_BIN} ./files/p910nd.init \
		${IDIR_P910ND}/etc/init.d/p910nd
	${INSTALL_BIN} ${WRKBUILD}/p910nd ${IDIR_P910ND}/usr/sbin

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