summaryrefslogtreecommitdiff
path: root/package/gettext/Makefile
blob: 6594eb995747638ba0fe767fd278b354a25140df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		gettext
PKG_VERSION:=		0.19.8
PKG_RELEASE:=		1
PKG_HASH:=		9c1781328238caa1685d7bc7a2e1dcf1c6c134e86b42ed554066734b621bd12f
PKG_DESCR:=		i18n tools and libs
PKG_SECTION:=		libs/misc
HOST_BUILDDEP:=		automake-host
PKG_URL:=		https://www.gnu.org/software/gettext/
PKG_SITES:=		http://ftp.gnu.org/pub/gnu/gettext/
PKG_OPTS:=		dev
PKG_CFLINE_GETTEXT:=	depends on !ADK_TARGET_LIBC_WITHOUT_LIBICONV

include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call HOST_template,GETTEXT,gettext,$(PKG_VERSION)-$(PKG_RELEASE)))
$(eval $(call PKG_template,GETTEXT,gettext,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))

gettext-install:
	$(INSTALL_DIR) $(IDIR_GETTEXT)/usr/lib
	$(CP) $(WRKINST)/usr/lib/libgettext*.so* \
		$(IDIR_GETTEXT)/usr/lib

include $(ADK_TOPDIR)/mk/host-bottom.mk
include $(ADK_TOPDIR)/mk/pkg-bottom.mk