summaryrefslogtreecommitdiff
path: root/package/p910nd
diff options
context:
space:
mode:
Diffstat (limited to 'package/p910nd')
-rw-r--r--package/p910nd/Makefile11
-rw-r--r--package/p910nd/files/p910nd.init4
-rw-r--r--package/p910nd/files/p910nd.postinst (renamed from package/p910nd/ipkg/p910nd.postinst)0
-rw-r--r--package/p910nd/ipkg/p910nd.control4
4 files changed, 9 insertions, 10 deletions
diff --git a/package/p910nd/Makefile b/package/p910nd/Makefile
index dbcbe367c..6e990a7c2 100644
--- a/package/p910nd/Makefile
+++ b/package/p910nd/Makefile
@@ -9,12 +9,16 @@ PKG_NAME:= p910nd
PKG_VERSION:= 0.7
PKG_RELEASE:= 10
PKG_MD5SUM:= 7bf752532d26c9106f8039db95df3a6b
-MASTER_SITES:= http://www.etherboot.org/p910nd/
+PKG_DESCR:= A small non-spooling printer server
+PKG_SECTION:= net
+PKG_URL:= http://www.etherboot.org/p910nd
+PKG_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}))
+$(eval $(call PKG_template,P910ND,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
BUILD_STYLE:= auto
MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} \
@@ -22,10 +26,7 @@ MAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} \
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
diff --git a/package/p910nd/files/p910nd.init b/package/p910nd/files/p910nd.init
index 77eceb1e3..9d0c227a7 100644
--- a/package/p910nd/files/p910nd.init
+++ b/package/p910nd/files/p910nd.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 70
+#PKG p910nd
+#INIT 70
+
. /etc/rc.conf
case $1 in
diff --git a/package/p910nd/ipkg/p910nd.postinst b/package/p910nd/files/p910nd.postinst
index e384ba6b6..e384ba6b6 100644
--- a/package/p910nd/ipkg/p910nd.postinst
+++ b/package/p910nd/files/p910nd.postinst
diff --git a/package/p910nd/ipkg/p910nd.control b/package/p910nd/ipkg/p910nd.control
deleted file mode 100644
index 9b917a86f..000000000
--- a/package/p910nd/ipkg/p910nd.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: p910nd
-Priority: optional
-Section: net
-Description: A small non-spooling printer server.