xref: /OK3568_Linux_fs/buildroot/package/popt/popt.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# popt
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunPOPT_VERSION = 1.18
8*4882a593SmuzhiyunPOPT_SITE = http://ftp.rpm.org/popt/releases/popt-1.x
9*4882a593SmuzhiyunPOPT_INSTALL_STAGING = YES
10*4882a593SmuzhiyunPOPT_LICENSE = MIT
11*4882a593SmuzhiyunPOPT_LICENSE_FILES = COPYING
12*4882a593SmuzhiyunPOPT_CPE_ID_VENDOR = popt_project
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunPOPT_GETTEXTIZE = YES
15*4882a593SmuzhiyunPOPT_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
16*4882a593Smuzhiyun# We're patching configure.ac
17*4882a593SmuzhiyunPOPT_AUTORECONF = YES
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunPOPT_CONF_ENV = ac_cv_va_copy=yes
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LIBICONV),y)
22*4882a593SmuzhiyunPOPT_CONF_ENV += am_cv_lib_iconv=yes
23*4882a593SmuzhiyunPOPT_CONF_OPTS += --with-libiconv-prefix=$(STAGING_DIR)/usr
24*4882a593SmuzhiyunPOPT_DEPENDENCIES += libiconv
25*4882a593Smuzhiyunendif
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun$(eval $(autotools-package))
28*4882a593Smuzhiyun$(eval $(host-autotools-package))
29