summaryrefslogtreecommitdiff
path: root/package/libantlr3c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libantlr3c/Makefile')
-rwxr-xr-xpackage/libantlr3c/Makefile24
1 files changed, 24 insertions, 0 deletions
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