debian: clean up packaging stuff for scripting

Signed-off-by: Quentin Young <qlyoung@nvidia.com>
This commit is contained in:
Quentin Young 2020-12-08 11:28:01 -05:00
parent c4db9bfaaf
commit bcccb2248d
2 changed files with 9 additions and 2 deletions

4
debian/control vendored
View File

@ -29,8 +29,8 @@ Build-Depends: bison,
python3-dev,
python3-pytest <!nocheck>,
python3-sphinx,
liblua5.3-dev,
texinfo (>= 4.7)
texinfo (>= 4.7),
liblua5.3-dev <!pkg.frr.nolua>
Standards-Version: 4.5.0.3
Homepage: https://www.frrouting.org/
Vcs-Browser: https://github.com/FRRouting/frr/tree/debian/master

7
debian/rules vendored
View File

@ -29,6 +29,12 @@ else
CONF_SYSTEMD=--enable-systemd=no
endif
ifeq ($(filter pkg.frr.nolua,$(DEB_BUILD_PROFILES)),)
CONF_LUA=--enable-scripting
else
CONF_LUA=--disable-scripting
endif
export PYTHON=python3
%:
@ -49,6 +55,7 @@ override_dh_auto_configure:
\
$(CONF_SYSTEMD) \
$(CONF_RPKI) \
$(CONF_LUA) \
--with-libpam \
--enable-doc \
--enable-doc-html \