summaryrefslogtreecommitdiff
path: root/package/p910nd/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/p910nd/Makefile
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/p910nd/Makefile')
-rw-r--r--package/p910nd/Makefile11
1 files changed, 6 insertions, 5 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