summaryrefslogtreecommitdiff
path: root/package/p910nd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/p910nd/Makefile')
-rw-r--r--package/p910nd/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/p910nd/Makefile b/package/p910nd/Makefile
new file mode 100644
index 000000000..c6a480098
--- /dev/null
+++ b/package/p910nd/Makefile
@@ -0,0 +1,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},${ARCH}))
+
+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