packages/libs/gettext/Makefile
jow 5b15e32ebe [packages] add gettext dummy library
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 02:36:00 +00:00

46 lines
911 B
Makefile

#
# Copyright (C) 2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=gettext
PKG_RELEASE:=1
include $(INCLUDE_DIR)/package.mk
define Package/libintl
SECTION:=libs
CATEGORY:=Libraries
TITLE:=Stub header for the GNU Internationalization library
endef
define Build/Prepare
$(INSTALL_DIR) $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
define Build/Configure
endef
define Build/Compile
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(INSTALL_DATA) $(PKG_BUILD_DIR)/include/libintl.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/share/aclocal
$(INSTALL_DATA) $(PKG_BUILD_DIR)/m4/* $(1)/usr/share/aclocal/
endef
define Package/libintl/install
$(INSTALL_DIR) $(1)/tmp
touch $(1)/tmp/.libintl-placeholder
endef
$(eval $(call BuildPackage,libintl))