2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=libIDL-$(PKG_VERSION).tar.bz2
16 PKG_BUILD_DIR:=$(BUILD_DIR)/libIDL-$(PKG_VERSION)
17 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/libIDL-$(PKG_VERSION)
18 PKG_SOURCE_URL:=@GNOME/libIDL/0.8
19 PKG_MD5SUM:=b43b289a859eb38a710f70622c46e571
21 HOST_BUILD_DEPENDS:=glib2/host
24 include $(INCLUDE_DIR)/host-build.mk
25 include $(INCLUDE_DIR)/package.mk
26 include $(INCLUDE_DIR)/nls.mk
28 define Package/libIDL2
31 TITLE:=IDL Compiling Library
32 URL:=http://andrewtv.org/libIDL/
36 define Package/libIDL2/description
37 libIDL is a library licensed under the GNU LGPL for creating trees of
38 CORBA Interface Definition Language (IDL) files, which is a
39 specification for defining portable interfaces.
42 define Build/Configure
43 $(call Build/Configure/Default,libIDL_cv_long_long_format=ll)
46 define Build/InstallDev
47 $(INSTALL_DIR) $(1)/usr/lib
49 $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} \
52 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
54 $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
55 $(1)/usr/lib/pkgconfig/
57 $(INSTALL_DIR) $(1)/usr/include
59 $(PKG_INSTALL_DIR)/usr/include/* \
63 define Package/libIDL2/install
64 $(INSTALL_DIR) $(1)/usr/lib
66 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
70 $(eval $(call HostBuild))
71 $(eval $(call BuildPackage,libIDL2))