banana-pro: bring it in shape
[openadk.git] / package / gettext / Makefile
blob6594eb995747638ba0fe767fd278b354a25140df
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= gettext
7 PKG_VERSION:= 0.19.8
8 PKG_RELEASE:= 1
9 PKG_HASH:= 9c1781328238caa1685d7bc7a2e1dcf1c6c134e86b42ed554066734b621bd12f
10 PKG_DESCR:= i18n tools and libs
11 PKG_SECTION:= libs/misc
12 HOST_BUILDDEP:= automake-host
13 PKG_URL:= https://www.gnu.org/software/gettext/
14 PKG_SITES:= http://ftp.gnu.org/pub/gnu/gettext/
15 PKG_OPTS:= dev
16 PKG_CFLINE_GETTEXT:= depends on !ADK_TARGET_LIBC_WITHOUT_LIBICONV
18 include $(ADK_TOPDIR)/mk/host.mk
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call HOST_template,GETTEXT,gettext,$(PKG_VERSION)-$(PKG_RELEASE)))
22 $(eval $(call PKG_template,GETTEXT,gettext,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
24 gettext-install:
25 $(INSTALL_DIR) $(IDIR_GETTEXT)/usr/lib
26 $(CP) $(WRKINST)/usr/lib/libgettext*.so* \
27 $(IDIR_GETTEXT)/usr/lib
29 include $(ADK_TOPDIR)/mk/host-bottom.mk
30 include $(ADK_TOPDIR)/mk/pkg-bottom.mk