summaryrefslogtreecommitdiff
path: root/package/miax
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-12 20:34:01 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-12 20:34:01 +0100
commitd2bda1cfddccdd4c553a15e775a037de3bbb0570 (patch)
tree965914462125326d3166287f4567ceae50bf7914 /package/miax
parent22db207e5c13ad254ff488b8be2601792aae8586 (diff)
parentd07bf77e221876d0c9d6f9813ef165265b67c15e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/miax')
-rw-r--r--package/miax/Makefile36
-rw-r--r--package/miax/patches/01-cross.patch24
2 files changed, 0 insertions, 60 deletions
diff --git a/package/miax/Makefile b/package/miax/Makefile
deleted file mode 100644
index 675c1f6b7..000000000
--- a/package/miax/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include ${TOPDIR}/rules.mk
-
-PKG_NAME:= miax
-PKG_VERSION:= 1.4
-PKG_RELEASE:= 1
-PKG_MD5SUM:= 44f0d2ef46ee2697d890b7b96846adc7
-PKG_DESCR:= A console iax (asterisk) client
-PKG_SECTION:= misc
-PKG_DEPENDS:= libpthread
-PKG_URL:= http://sourceforge.net/projects/miax
-PKG_SITES:= http://mesh.dl.sourceforge.net/sourceforge/miax/
-PKG_CFLINE_MIAX:= depends on ADK_BROKEN
-
-DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
-WRKDIST= ${WRKDIR}/${PKG_NAME}
-
-include ${TOPDIR}/mk/package.mk
-
-$(eval $(call PKG_template,MIAX,miax,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
-CONFIG_STYLE:= manual
-INSTALL_STYLE:= manual
-
-MAKE_FLAGS+= CC="${TARGET_CC}" \
- OFLAGS="${TARGET_CFLAGS}" \
- CPPFLAGS="${TARGET_CPPFLAGS}" \
- LDFLAGS="${TARGET_LDFLAGS}"
-
-do-install:
- ${INSTALL_DIR} ${IDIR_MIAX}/usr/bin
- ${INSTALL_BIN} ${WRKBUILD}/miax ${IDIR_MIAX}/usr/bin/
-
-include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/miax/patches/01-cross.patch b/package/miax/patches/01-cross.patch
deleted file mode 100644
index 04ec04d78..000000000
--- a/package/miax/patches/01-cross.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ruN miax-1.4-old/Makefile miax-1.4-new/Makefile
---- miax.orig/Makefile 2005-04-27 18:56:13.000000000 +0200
-+++ miax/Makefile 2013-12-22 09:48:41.000000000 +0100
-@@ -1,4 +1,5 @@
--CFLAGS= -Iiax/ -Igsm/inc -DIAXC_IAX2 -DLIBIAX -g -DPOSIXSLEEP -DLINUX -O2
-+OFLAGS= -02 -g
-+CFLAGS= -Iiax/ -Igsm/inc $(CPPFLAGS) -DIAXC_IAX2 -DLIBIAX -DPOSIXSLEEP -DLINUX $(OFLAGS)
- SYSLIBS=-lpthread -lm -lbluetooth
-
-
-@@ -32,11 +33,10 @@ OBJS=\
- miax.o
-
- all: $(OBJS)
-- gcc $(OBJS) $(CFLAGS) $(SYSLIBS) -o miax
-- cp miax /bin/miax
-+ $(CC) $(OBJS) $(CFLAGS) $(LDFLAGS) $(SYSLIBS) -o miax
-
- static: $(OBJS) bluetooth.o
-- gcc $(OBJS) $(CFLAGS) $(SYSLIBS) -static -o miax
-+ $(CC) $(OBJS) $(CFLAGS) $(LDFLAGS) $(SYSLIBS) -static -o miax
-
- clean:
- rm -f $(OBJS) miax