initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
Do not build the documentation.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
diff -durN dahdi-tools-2.11.0.orig/Makefile.am dahdi-tools-2.11.0/Makefile.am
|
||||
--- dahdi-tools-2.11.0.orig/Makefile.am 2015-12-22 21:19:12.000000000 +0100
|
||||
+++ dahdi-tools-2.11.0/Makefile.am 2016-01-04 23:23:34.201304133 +0100
|
||||
@@ -17,7 +17,7 @@
|
||||
#-Wformat=2
|
||||
endif
|
||||
|
||||
-SUBDIRS = xpp doc hotplug
|
||||
+SUBDIRS = xpp hotplug
|
||||
|
||||
if PPPD
|
||||
SUBDIRS += ppp
|
||||
@@ -0,0 +1,37 @@
|
||||
xpp: do not try to install the manpages for the perl tools
|
||||
|
||||
The man pages are generated neither at build time nor at install time,
|
||||
so the install step fails.
|
||||
|
||||
Just disable them.
|
||||
|
||||
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
||||
|
||||
diff -durN dahdi-tools-2.11.0.orig/xpp/Makefile.am dahdi-tools-2.11.0/xpp/Makefile.am
|
||||
--- dahdi-tools-2.11.0.orig/xpp/Makefile.am 2015-12-22 21:19:12.000000000 +0100
|
||||
+++ dahdi-tools-2.11.0/xpp/Makefile.am 2016-01-04 23:56:31.851820973 +0100
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
SUBDIRS =
|
||||
|
||||
-man_MANS =
|
||||
|
||||
|
||||
# FIXME: try to improve code, so we can use $(PEDANTIC)
|
||||
@@ -59,7 +58,6 @@
|
||||
udevrules_DATA = xpp.rules
|
||||
|
||||
dist_sbin_SCRIPTS = $(perl_scripts)
|
||||
-man_MANS += $(perl_mans)
|
||||
CLEANFILES = $(perl_checks) $(perl_mans)
|
||||
|
||||
if PBX_USB
|
||||
@@ -147,8 +145,6 @@
|
||||
astribank_allow.8 \
|
||||
astribank_is_starting.8
|
||||
|
||||
-man_MANS += $(man_pages)
|
||||
-
|
||||
endif
|
||||
|
||||
EXTRA_DIST = \
|
||||
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_DAHDI_TOOLS
|
||||
bool "dahdi-tools"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_LINUX_KERNEL # dahdi-linux
|
||||
depends on BR2_USE_MMU # perl
|
||||
select BR2_PACKAGE_DAHDI_LINUX
|
||||
select BR2_PACKAGE_PERL
|
||||
help
|
||||
DAHDI (Digium/Asterisk Hardware Device Interface) is the open
|
||||
source device interface technology used to control Digium and
|
||||
other legacy telephony interface cards.
|
||||
|
||||
DAHDI Tools is a package of utilities for managing and
|
||||
monitoring DAHDI devices.
|
||||
|
||||
http://www.asterisk.org/downloads/dahdi
|
||||
|
||||
comment "dahdi-tools needs a toolchain w/ threads and a Linux kernel to be built"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LINUX_KERNEL
|
||||
@@ -0,0 +1,8 @@
|
||||
# sha1 from http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases
|
||||
# sha256 locally computed
|
||||
sha1 3e988256aae4b6a6ed8efb3ecc07753779f54823 dahdi-tools-3.0.0.tar.gz
|
||||
sha256 5bebb20d5ae13fa13f0e2075603013954b962be477db02271eef44b3e41557c5 dahdi-tools-3.0.0.tar.gz
|
||||
|
||||
# License files, locally computed
|
||||
sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE
|
||||
sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 LICENSE.LGPL
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# dahdi-tools
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DAHDI_TOOLS_VERSION = 3.0.0
|
||||
DAHDI_TOOLS_SITE = http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases
|
||||
|
||||
DAHDI_TOOLS_LICENSE = GPLv2, LGPLv2.1
|
||||
DAHDI_TOOLS_LICENSE_FILES = LICENSE LICENSE.LGPL
|
||||
|
||||
DAHDI_TOOLS_DEPENDENCIES = dahdi-linux perl
|
||||
|
||||
DAHDI_TOOLS_INSTALL_STAGING = YES
|
||||
DAHDI_TOOLS_AUTORECONF = YES
|
||||
|
||||
# Buildroot globally exports PERL with the value it has on the host, so we need
|
||||
# to override it with the location where it will be on the target.
|
||||
DAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl
|
||||
|
||||
DAHDI_TOOLS_CONF_OPTS = \
|
||||
--without-newt \
|
||||
--without-usb \
|
||||
--without-pcap \
|
||||
--without-libusbx \
|
||||
--without-libusb \
|
||||
--without-selinux \
|
||||
--without-ppp \
|
||||
--with-perllib=/usr/lib/perl5/$(PERL_VERSION)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user