update to latest stable upstream
[openadk.git] / package / expat / Makefile
blob1a67d72a7c681f94382b6d6fcc611d7556320a66
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= expat
7 PKG_VERSION:= 2.0.1
8 PKG_RELEASE:= 2
9 PKG_HASH:= 847660b4df86e707c9150e33cd8c25bc5cd828f708c7418e765e3e983a2e5e93
10 PKG_DESCR:= xml parsing library
11 PKG_SECTION:= libs/data
12 PKG_URL:= http://expat.sourceforge.net
13 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=expat/}
14 PKG_LIBNAME:= libexpat
15 PKG_OPTS:= dev
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include ${ADK_TOPDIR}/mk/host.mk
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call HOST_template,LIBEXPAT,libexpat,${PKG_VERSION}-${PKG_RELEASE}))
23 $(eval $(call PKG_template,LIBEXPAT,libexpat,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
25 libexpat-install:
26 ${INSTALL_DIR} ${IDIR_LIBEXPAT}/usr/lib
27 ${CP} ${WRKINST}/usr/lib/libexpat.so* ${IDIR_LIBEXPAT}/usr/lib/
29 include ${ADK_TOPDIR}/mk/host-bottom.mk
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk