summaryrefslogtreecommitdiff
path: root/package/mISDN/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2015-02-24 12:46:53 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-28 10:14:26 +0100
commit2c5a022d3e65779668f071446d80cf27bfe4c037 (patch)
tree4c06a5066bd7520b6fe0339ac82499389070697d /package/mISDN/Makefile
parent4b45b4b6517d76d769dafa6da23ef13aa1315388 (diff)
port packages mISDN, mISDNuser and capi4k-utils
mISDN still has some unresolved problems with sysfs object creation, to be fixed.
Diffstat (limited to 'package/mISDN/Makefile')
-rw-r--r--package/mISDN/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/mISDN/Makefile b/package/mISDN/Makefile
new file mode 100644
index 000000000..1741cbb8f
--- /dev/null
+++ b/package/mISDN/Makefile
@@ -0,0 +1,36 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+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_SECTION:= net/voip
+PKG_URL:= http://www.misdn.org
+PKG_SITES:= http://www.misdn.org/downloads/releases/
+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}))
+
+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
+
+post-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
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk