summaryrefslogtreecommitdiff
path: root/package/mISDNuser
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/mISDNuser
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/mISDNuser')
-rw-r--r--package/mISDNuser/Makefile32
-rw-r--r--package/mISDNuser/patches/patch-Makefile16
-rw-r--r--package/mISDNuser/patches/patch-debugtool_Makefile9
-rw-r--r--package/mISDNuser/patches/patch-i4lnet_Makefile9
-rw-r--r--package/mISDNuser/patches/patch-lib_Makefile9
-rw-r--r--package/mISDNuser/patches/patch-suppserv_Makefile9
6 files changed, 84 insertions, 0 deletions
diff --git a/package/mISDNuser/Makefile b/package/mISDNuser/Makefile
new file mode 100644
index 000000000..e4f2748ff
--- /dev/null
+++ b/package/mISDNuser/Makefile
@@ -0,0 +1,32 @@
+# 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:= mISDNuser
+PKG_VERSION:= 1_1_9
+PKG_RELEASE:= 1
+PKG_MD5SUM:= e174a60e7040c88d1184364714e55c1b
+PKG_DESCR:= mISDN (modular ISDN) kernel link library and includes, this is the out-of-tree 1.X version
+PKG_SECTION:= net/voip
+PKG_DEPENDS:= mISDN
+PKG_BUILDDEP:= mISDN
+PKG_URL:= http://www.misdn.org
+PKG_SITES:= http://www.misdn.org/downloads/releases/
+PKG_NOPARALLEL:= 1
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,MISDNUSER,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+XAKE_FLAGS+= MISDNDIR=${STAGING_TARGET_DIR}/usr INSTALL_PREFIX=${WRKINST}
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_MISDNUSER)/usr/{bin,lib}
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/{loadfirm,mISDNdebugtool,misdnportinfo} \
+ ${WRKINST}/usr/bin/{sendhwctrl,testcon*,testlayer*} \
+ $(IDIR_MISDNUSER)/usr/bin/
+ ${INSTALL_DATA} ${WRKINST}/usr/lib/*.so ${IDIR_MISDNUSER}/usr/lib/
+
+include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mISDNuser/patches/patch-Makefile b/package/mISDNuser/patches/patch-Makefile
new file mode 100644
index 000000000..77846228f
--- /dev/null
+++ b/package/mISDNuser/patches/patch-Makefile
@@ -0,0 +1,16 @@
+ allow CC override
+ allow CFLAGS enhancement
+--- mISDNuser-1_1_9.orig/Makefile 2009-01-21 18:06:34.000000000 +0100
++++ mISDNuser-1_1_9/Makefile 2011-07-11 17:14:13.425001831 +0200
+@@ -28,7 +28,10 @@ export INCLUDEDIR
+ LIBDIR=/usr/lib
+ export LIBDIR
+
+-CFLAGS:= -g -Wall -I $(INCLUDEDIR) -I $(MISDNINCLUDEDIR)
++CC ?= gcc
++export CC
++
++CFLAGS+= -g -Wall -I $(INCLUDEDIR) -I $(MISDNINCLUDEDIR)
+ CFLAGS+= -D CLOSE_REPORT=1
+
+ #disable this if your system does not support PIC (position independent code)
diff --git a/package/mISDNuser/patches/patch-debugtool_Makefile b/package/mISDNuser/patches/patch-debugtool_Makefile
new file mode 100644
index 000000000..c531dd074
--- /dev/null
+++ b/package/mISDNuser/patches/patch-debugtool_Makefile
@@ -0,0 +1,9 @@
+ allow CC override
+--- mISDNuser-1_1_9.orig/debugtool/Makefile 2008-11-18 12:35:09.000000000 +0100
++++ mISDNuser-1_1_9/debugtool/Makefile 2011-07-11 17:12:13.520001533 +0200
+@@ -1,4 +1,4 @@
+-CC = gcc
++CC ?= gcc
+
+ CFLAGS += -Wall
+
diff --git a/package/mISDNuser/patches/patch-i4lnet_Makefile b/package/mISDNuser/patches/patch-i4lnet_Makefile
new file mode 100644
index 000000000..3d4150b9a
--- /dev/null
+++ b/package/mISDNuser/patches/patch-i4lnet_Makefile
@@ -0,0 +1,9 @@
+ allow CC override
+--- mISDNuser-1_1_9.orig/i4lnet/Makefile 2008-11-18 12:35:09.000000000 +0100
++++ mISDNuser-1_1_9/i4lnet/Makefile 2011-07-11 17:12:22.313001562 +0200
+@@ -1,4 +1,4 @@
+-CC = gcc
++CC ?= gcc
+ AR = ar
+ RANLIB = ranlib
+
diff --git a/package/mISDNuser/patches/patch-lib_Makefile b/package/mISDNuser/patches/patch-lib_Makefile
new file mode 100644
index 000000000..db658881a
--- /dev/null
+++ b/package/mISDNuser/patches/patch-lib_Makefile
@@ -0,0 +1,9 @@
+ allow CC override
+--- mISDNuser-1_1_9.orig/lib/Makefile 2008-11-18 12:35:09.000000000 +0100
++++ mISDNuser-1_1_9/lib/Makefile 2011-07-11 17:12:25.341001554 +0200
+@@ -1,4 +1,4 @@
+-CC = gcc
++CC ?= gcc
+ AR = ar
+ RANLIB = ranlib
+
diff --git a/package/mISDNuser/patches/patch-suppserv_Makefile b/package/mISDNuser/patches/patch-suppserv_Makefile
new file mode 100644
index 000000000..c2600f499
--- /dev/null
+++ b/package/mISDNuser/patches/patch-suppserv_Makefile
@@ -0,0 +1,9 @@
+ allow CC override
+--- mISDNuser-1_1_9.orig/suppserv/Makefile 2008-11-18 12:35:09.000000000 +0100
++++ mISDNuser-1_1_9/suppserv/Makefile 2011-07-11 17:12:30.613001557 +0200
+@@ -1,4 +1,4 @@
+-CC = gcc
++CC ?= gcc
+ AR = ar
+ RANLIB = ranlib
+