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