summaryrefslogtreecommitdiffstats
path: root/package/popt/popt.mk
blob: 4c570283423e10c8ee2ec3008b2424c88e34b1b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################
#
# 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

POPT_DEPENDENCIES:=uclibc

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