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
14 PKG_LICENSE_FILES
:=LICENSE
16 PKG_MAINTAINER
:=Jo-Philipp Wich
<jo@mein.io
>
18 include $(INCLUDE_DIR
)/package.mk
19 include $(INCLUDE_DIR
)/host-build.mk
21 define Package
/libintl
24 TITLE
:=Stub header for the GNU Internationalization library
28 $(INSTALL_DIR
) $(PKG_BUILD_DIR
)
29 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
32 define Build
/Configure
38 define Build
/InstallDev
39 $(INSTALL_DIR
) $(1)/usr
/lib
/libintl-stub
/include
40 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/include/libintl.h
$(1)/usr
/lib
/libintl-stub
/include/
42 $(INSTALL_DIR
) $(1)/usr
/share
/aclocal
43 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/m4
/* $(1)/usr
/share
/aclocal
/
47 mkdir
-p
$(HOST_BUILD_DIR
)
55 $(INSTALL_DIR
) $(STAGING_DIR
)/host
/include
56 $(INSTALL_DATA
) .
/src
/include/libintl.h
$(STAGING_DIR
)/host
/include/
58 $(INSTALL_DIR
) $(STAGING_DIR
)/host
/share
/aclocal
59 $(INSTALL_DATA
) .
/src
/m4
/* $(STAGING_DIR
)/host
/share
/aclocal
/
62 define Package
/libintl
/install
63 $(INSTALL_DIR
) $(1)/tmp
64 touch
$(1)/tmp
/.libintl-placeholder
67 $(eval
$(call HostBuild
))
68 $(eval
$(call BuildPackage
,libintl
))