rtmidi: add license

Closes: #8023 [via git-merge-pr]
This commit is contained in:
Michael Gehring 2017-10-11 08:45:48 +00:00 committed by Michael Aldridge
parent f66a78ef33
commit 570b0e4088

View file

@ -15,9 +15,14 @@ checksum=55cd0fba60321aadcd847481d207bf2b70e783b5bfa1a01037bf916554a7d5c4
pre_configure() {
sed -i 's/\($cppflag\)/\1 $CFLAGS/' configure.ac
sed -n '/Copyright (c)/,$ p' < README.md > LICENSE
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
rtmidi-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"