From 8732b26738a41671d8d2223e4d629c20c7e622cc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 12 May 2011 12:36:21 +0200 Subject: add forked-daapd server and all deps --- package/libantlr3c/Makefile | 24 ++++++++++++++++++++++++ package/libantlr3c/patches/patch-antlr3config_h | 11 +++++++++++ package/libantlr3c/patches/patch-configure | 20 ++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100755 package/libantlr3c/Makefile create mode 100644 package/libantlr3c/patches/patch-antlr3config_h create mode 100644 package/libantlr3c/patches/patch-configure (limited to 'package/libantlr3c') diff --git a/package/libantlr3c/Makefile b/package/libantlr3c/Makefile new file mode 100755 index 000000000..cb5d58571 --- /dev/null +++ b/package/libantlr3c/Makefile @@ -0,0 +1,24 @@ +# 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:= libantlr3c +PKG_VERSION:= 3.2 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 674646e1d1bf5c6015435480cead725a +PKG_DESCR:= ANother Tool for Language Recognition +PKG_SECTION:= libs +PKG_SITES:= http://www.antlr.org/download/C/ + +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,LIBANTLR3C,libantlr3c,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIGURE_ENV+= OPTIMFLAGS="$(TARGET_CFLAGS)" + +libantlr3c-install: + ${INSTALL_DIR} ${IDIR_LIBANTLR3C}/usr/lib + ${CP} ${WRKINST}/usr/lib/libantlr3c.so* ${IDIR_LIBANTLR3C}/usr/lib + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/libantlr3c/patches/patch-antlr3config_h b/package/libantlr3c/patches/patch-antlr3config_h new file mode 100644 index 000000000..bf860a508 --- /dev/null +++ b/package/libantlr3c/patches/patch-antlr3config_h @@ -0,0 +1,11 @@ +--- libantlr3c-3.2.orig/antlr3config.h 2009-09-23 22:50:45.000000000 +0200 ++++ libantlr3c-3.2/antlr3config.h 2011-05-10 14:06:43.000000000 +0200 +@@ -5,7 +5,7 @@ + /* #undef ANTLR3_NODEBUGGER */ + + /* Define if 64 bit mode required */ +-#define ANTLR3_USE_64BIT 1 ++/* #undef ANTLR3_USE_64BIT */ + + /* Define to 1 if you have the `accept' function. */ + #define HAVE_ACCEPT 1 diff --git a/package/libantlr3c/patches/patch-configure b/package/libantlr3c/patches/patch-configure new file mode 100644 index 000000000..4fd248902 --- /dev/null +++ b/package/libantlr3c/patches/patch-configure @@ -0,0 +1,20 @@ +--- libantlr3c-3.2.orig/configure 2009-12-11 23:55:07.000000000 +0100 ++++ libantlr3c-3.2/configure 2011-05-10 14:08:20.000000000 +0200 +@@ -19533,7 +19533,7 @@ sparc*-*solaris*) + *) + CPPCMNTFLAGS= + CCFLAGS64= +- OPTIMFLAGS="-O" ++ OPTIMFLAGS="" + if test x"$enable_debuginfo" = xyes; then + DEBUGFLAGS='-g' + fi +@@ -19543,7 +19543,7 @@ esac + ;; + esac + +-CFLAGS="$CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS" ++CFLAGS="$CFLAGS $CCFLAGS64 $CPPCMNTFLAGS $OPTIMFLAGS $DEBUGFLAGS $WARNFLAGS" + { $as_echo "$as_me:$LINENO: result: $CFLAGS" >&5 + $as_echo "$CFLAGS" >&6; } + -- cgit v1.2.3