miniupnpd: improve recipe

- Produce a clean download tarball
- ./genconfig.sh is not necessary as it is called by make if necessary
- Enable the possible to do vendor configuration in the supplied .conf file

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Pascal Bach
2017-05-10 12:45:01 +02:00
committed by Martin Jansa
parent 23a8b1f013
commit 8b98003c01
@@ -11,7 +11,7 @@ inherit autotools gettext pkgconfig
DEPENDS += "iptables net-tools util-linux libmnl libnetfilter-conntrack"
SRC_URI = "http://miniupnp.tuxfamily.org/files/download.php?file=${P}.tar.gz \
SRC_URI = "http://miniupnp.tuxfamily.org/files/download.php?file=${P}.tar.gz;downloadfilename=${P}.tar.gz \
"
SRC_URI[md5sum] = "1c07a215dd9b362e75a9efc05e2fb3b4"
SRC_URI[sha256sum] = "d96aa3a00e0f5490826bba3cb97e68cd27479e5839adac4b9bcb66eae786bfb7"
@@ -20,8 +20,7 @@ IPV6 = "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', '--ipv6', '', d)}"
do_compile() {
cd ${S}
CONFIG_OPTIONS="${IPV6} --leasefile" ./genconfig.sh
oe_runmake -f Makefile.linux
CONFIG_OPTIONS="${IPV6} --leasefile --vendorcfg" oe_runmake -f Makefile.linux
}
do_install() {