xref: /OK3568_Linux_fs/buildroot/package/dahdi-tools/dahdi-tools.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# dahdi-tools
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunDAHDI_TOOLS_VERSION = 3.0.0
8*4882a593SmuzhiyunDAHDI_TOOLS_SITE = http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunDAHDI_TOOLS_LICENSE = GPLv2, LGPLv2.1
11*4882a593SmuzhiyunDAHDI_TOOLS_LICENSE_FILES = LICENSE LICENSE.LGPL
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunDAHDI_TOOLS_DEPENDENCIES = dahdi-linux perl
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunDAHDI_TOOLS_INSTALL_STAGING = YES
16*4882a593SmuzhiyunDAHDI_TOOLS_AUTORECONF = YES
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun# Buildroot globally exports PERL with the value it has on the host, so we need
19*4882a593Smuzhiyun# to override it with the location where it will be on the target.
20*4882a593SmuzhiyunDAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunDAHDI_TOOLS_CONF_OPTS = \
23*4882a593Smuzhiyun	--without-newt \
24*4882a593Smuzhiyun	--without-usb \
25*4882a593Smuzhiyun	--without-pcap \
26*4882a593Smuzhiyun	--without-libusbx \
27*4882a593Smuzhiyun	--without-libusb \
28*4882a593Smuzhiyun	--without-selinux \
29*4882a593Smuzhiyun	--without-ppp \
30*4882a593Smuzhiyun	--with-perllib=/usr/lib/perl5/$(PERL_VERSION)
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun$(eval $(autotools-package))
33