2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
13 include $(INCLUDE_DIR)/package.mk
15 define Package/libintl
18 TITLE:=Stub header for the GNU Internationalization library
22 $(INSTALL_DIR) $(PKG_BUILD_DIR)
23 $(CP) ./src/* $(PKG_BUILD_DIR)/
26 define Build/Configure
32 define Build/InstallDev
33 $(INSTALL_DIR) $(1)/usr/include
34 $(INSTALL_DATA) $(PKG_BUILD_DIR)/include/libintl.h $(1)/usr/include/
36 $(INSTALL_DIR) $(1)/usr/share/aclocal
37 $(INSTALL_DATA) $(PKG_BUILD_DIR)/m4/* $(1)/usr/share/aclocal/
40 define Package/libintl/install
41 $(INSTALL_DIR) $(1)/tmp
42 touch $(1)/tmp/.libintl-placeholder
45 $(eval $(call BuildPackage,libintl))