[packages] add gettext dummy library
[openwrt/svn-archive/archive.git] / libs / gettext / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=gettext
11 PKG_RELEASE:=1
12
13 include $(INCLUDE_DIR)/package.mk
14
15 define Package/libintl
16 SECTION:=libs
17 CATEGORY:=Libraries
18 TITLE:=Stub header for the GNU Internationalization library
19 endef
20
21 define Build/Prepare
22 $(INSTALL_DIR) $(PKG_BUILD_DIR)
23 $(CP) ./src/* $(PKG_BUILD_DIR)/
24 endef
25
26 define Build/Configure
27 endef
28
29 define Build/Compile
30 endef
31
32 define Build/InstallDev
33 $(INSTALL_DIR) $(1)/usr/include
34 $(INSTALL_DATA) $(PKG_BUILD_DIR)/include/libintl.h $(1)/usr/include/
35
36 $(INSTALL_DIR) $(1)/usr/share/aclocal
37 $(INSTALL_DATA) $(PKG_BUILD_DIR)/m4/* $(1)/usr/share/aclocal/
38 endef
39
40 define Package/libintl/install
41 $(INSTALL_DIR) $(1)/tmp
42 touch $(1)/tmp/.libintl-placeholder
43 endef
44
45 $(eval $(call BuildPackage,libintl))