checkdeps: add libjson-perl

This commit is contained in:
MilhouseVH 2017-06-22 18:46:42 +01:00
parent 96cfbf9a1f
commit 8c35ddb957

View File

@ -62,6 +62,11 @@ case "$DISTRO" in
;;
esac
if ! perl -MJSON -e 'exit(0);' 2>/dev/null; then
files="$files perl/JSON.pm"
files_pkg="$files_pkg libjson-perl"
fi
# project specific dependencies
if [ -n "$EXTRA_DEPS" ] ; then
deps="$deps $EXTRA_DEPS"
@ -96,7 +101,7 @@ done
if [ -n "$need" ]; then
echo "**** Your system lacks the following tools needed to build $DISTRONAME ****"
echo $need
echo $need provided by $need_pkg
echo "**** You seem to use a $DISTRO system ****"
case "$DISTRO" in