summaryrefslogtreecommitdiff
path: root/package/mISDN
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:11:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:39 +0100
commit3b7e950a2a226d1344e78da8fb10e3cdb92f37a0 (patch)
tree2bda2f5203b3833e77529fe96884d56e69c8fca3 /package/mISDN
parent23cfddf360edbac12473a5c6f9e2d85b12992bb3 (diff)
cleanup phil's submissions
- use () instead of {} in make variables for now - use PKG_HASH instead of PKG_MD5SUM - update to latest upstream versions - use a newline between PKG_* variables and DISTFILES - use <pkgname>-install instead of post-install - use lowercase description texts only - fix some missing PKG_BUILDDEP - elfutils needs argp, which is not available in uClibc-ng, yet - PKG_HASH is not required for git sources
Diffstat (limited to 'package/mISDN')
-rw-r--r--package/mISDN/Makefile27
1 files changed, 13 insertions, 14 deletions
diff --git a/package/mISDN/Makefile b/package/mISDN/Makefile
index 1741cbb8f..348f1da0d 100644
--- a/package/mISDN/Makefile
+++ b/package/mISDN/Makefile
@@ -6,31 +6,30 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mISDN
PKG_VERSION:= 1_1_9_2
PKG_RELEASE:= 1
-PKG_MD5SUM:= f9ec111fcc40c9ef48fc1822317998be
-PKG_DESCR:= mISDN is the new ISDN stack of the linux kernel 2.6, this is the out-of-tree 1.X version
+PKG_HASH:= 9ff96d8361891b9a15cf6dbdb57214c36ca13702d5bf7c18ebe259ec5d876c09
+PKG_DESCR:= new isdn stack of the linux kernel
PKG_SECTION:= net/voip
PKG_URL:= http://www.misdn.org
PKG_SITES:= http://www.misdn.org/downloads/releases/
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+
+PKG_CFLINE_MISDN:= depends on ADK_BROKEN
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
include $(ADK_TOPDIR)/mk/kernel-ver.mk
include $(ADK_TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,MISDN,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,MISDN,misdn,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
CONFIG_STYLE:= manual
-XAKE_FLAGS+= LINUX=${LINUX_DIR} KVERS=${KERNEL_VERSION}
-FAKE_FLAGS+= INSTALL_PREFIX=${WRKINST}
-
-#do-configure:
-# $(SED) 's/CONFIG_MISDN_AVM_FRITZ=y/CONFIG_MISDN_AVM_FRITZ=n/' ${WRKDIR}/add.config
-# $(SED) 's/CONFIG_MISDN_AVM_FRITZ=y/CONFIG_MISDN_AVM_FRITZ=n/' ${WRKDIR}/add.config
+XAKE_FLAGS+= LINUX=$(LINUX_DIR) KVERS=$(KERNEL_VERSION)
+FAKE_FLAGS+= INSTALL_PREFIX=$(WRKINST)
-post-install:
+misdn-install:
$(INSTALL_DIR) $(IDIR_MISDN)/usr/sbin
$(INSTALL_BIN) $(WRKINST)/usr/sbin/{mISDN,misdn-init} \
$(IDIR_MISDN)/usr/sbin
- ${INSTALL_DIR} ${IDIR_MISDN}/lib
- mv ${WRKINST}/lib/modules ${IDIR_MISDN}/lib
+ $(INSTALL_DIR) $(IDIR_MISDN)/lib/modules
+ $(CP) $(WRKINST)/lib/modules/* $(IDIR_MISDN)/lib/modules/
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk