summaryrefslogtreecommitdiff
path: root/package/libantlr3c/Makefile
blob: 77a414fe3a069aa950409533b4daabd1764e61a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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:=		2
PKG_MD5SUM:=		674646e1d1bf5c6015435480cead725a
PKG_DESCR:=		ANother Tool for Language Recognition
PKG_SECTION:=		libs
PKG_SITES:=		http://www.antlr.org/download/C/
PKG_OPTS:=		dev

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,LIBANTLR3C,libantlr3c,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))

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