summaryrefslogtreecommitdiffstats
path: root/package/popt/popt.mk
blob: 0f9d313dcf025b5c4f343c884275844e69f89102 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#############################################################
#
# popt
#
#############################################################
POPT_VERSION:=1.15
POPT_SITE:=http://rpm5.org/files/popt
POPT_INSTALL_STAGING = YES
POPT_INSTALL_TARGET = YES


POPT_CONF_ENV = ac_cv_va_copy=yes

ifeq ($(BR2_PACKAGE_LIBICONV),y)
POPT_CONF_ENV += am_cv_lib_iconv=yes
POPT_CONF_OPT += --with-libiconv-prefix=$(STAGING_DIR)/usr
endif

$(eval $(call AUTOTARGETS,package,popt))