mosquitto: fix license

This commit is contained in:
Lukas Braun 2015-09-19 14:07:29 +02:00
parent 0d38caf440
commit 7ee198982c
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@ conf_files="/etc/mosquitto/mosquitto.conf"
makedepends="libressl-devel libuuid-devel c-ares-devel" makedepends="libressl-devel libuuid-devel c-ares-devel"
short_desc="MQTT version 3.1/3.1.1 compatible message broker" short_desc="MQTT version 3.1/3.1.1 compatible message broker"
maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>" maintainer="Lukas Braun <koomi@hackerspace-bamberg.de>"
license="BSD" license="epl-v10, edl-v10"
homepage="http://mosquitto.org/" homepage="http://mosquitto.org/"
distfiles="http://mosquitto.org/files/source/mosquitto-${version}.tar.gz" distfiles="http://mosquitto.org/files/source/mosquitto-${version}.tar.gz"
checksum=c643c7123708aadcd29287dda7b5ce7c910f75b02956a8fc4fe65ad2ea767a5f checksum=c643c7123708aadcd29287dda7b5ce7c910f75b02956a8fc4fe65ad2ea767a5f
@ -18,6 +18,9 @@ pre_install() {
sed -i 's,sbin,bin,g' */Makefile sed -i 's,sbin,bin,g' */Makefile
} }
post_install() { post_install() {
vlicense LICENSE.txt
vlicense epl-v10
vlicense edl-v10
mv ${DESTDIR}/etc/${pkgname}/${pkgname}.conf.example \ mv ${DESTDIR}/etc/${pkgname}/${pkgname}.conf.example \
${DESTDIR}/etc/${pkgname}/${pkgname}.conf ${DESTDIR}/etc/${pkgname}/${pkgname}.conf
vmkdir usr/share/examples/${pkgname} vmkdir usr/share/examples/${pkgname}