summaryrefslogtreecommitdiff
path: root/package/libart/Makefile
blob: e5a75e5a9b2a2a1894baf0b1c77a06a7bfe9108b (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
26
27
28
# 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:=		libart
PKG_VERSION:=		2.3.17
PKG_RELEASE:=		2
PKG_HASH:=		93d3a5046638074420da88d85cbcfc8b75db1414a46d6f03f456649b42ea1589
PKG_DESCR:=		high-performance 2d graphics library
PKG_SECTION:=		libs/image
PKG_SITES:=		${MASTER_SITE_GNOME:=libart_lgpl/2.3/}
PKG_OPTS:=		dev

DISTFILES:=		${PKG_NAME}_lgpl-${PKG_VERSION}.tar.gz
WRKDIST=		${WRKDIR}/${PKG_NAME}_lgpl-${PKG_VERSION}

include ${ADK_TOPDIR}/mk/package.mk

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

MAKE_ENV+=		HOSTCC=$(CC_FOR_BUILD)

libart-install:
	${INSTALL_DIR} ${IDIR_LIBART}/usr/lib
	${CP} ${WRKINST}/usr/lib/libart_lgpl_2.so* ${IDIR_LIBART}/usr/lib/

include ${ADK_TOPDIR}/mk/pkg-bottom.mk