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

POPT_LIBTOOL_PATCH = NO

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))