imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / libIDL / Makefile
blobe8cb57341b6837ab80a213f3c8a6547556561f04
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:= libIDL
7 PKG_VERSION:= 0.8.14
8 PKG_RELEASE:= 2
9 PKG_HASH:= bca99570f1ab453e11ae627b209561019cde5aaa98f71f43cc6da048d3bc7e72
10 PKG_DESCR:= libraries for interface definition language files
11 PKG_SECTION:= libs/misc
12 PKG_DEPENDS:= glib
13 PKG_BUILDDEP:= glib
14 HOST_BUILDDEP:= glib-host
15 PKG_URL:= http://www.gnome.org/
16 PKG_SITES:= http://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/
17 PKG_LIBNAME:= libidl
18 PKG_OPTS:= dev
20 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
22 include $(ADK_TOPDIR)/mk/host.mk
23 include $(ADK_TOPDIR)/mk/package.mk
25 $(eval $(call HOST_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE}))
26 $(eval $(call PKG_template,LIBIDL,libidl,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
28 CONFIGURE_ENV+= libIDL_cv_long_long_format=ll
29 ifeq ($(OS_FOR_BUILD),Darwin)
30 HOST_LDFLAGS+= -liconv
31 endif
33 libidl-install:
34 $(INSTALL_DIR) $(IDIR_LIBIDL)/usr/lib
35 $(CP) $(WRKINST)/usr/lib/libIDL*.so* \
36 $(IDIR_LIBIDL)/usr/lib
38 include ${ADK_TOPDIR}/mk/host-bottom.mk
39 include ${ADK_TOPDIR}/mk/pkg-bottom.mk