fox: fix distfiles, add license

Closes: #10509 [via git-merge-pr]
This commit is contained in:
cr6git 2018-01-06 02:31:07 +01:00 committed by Jürgen Buchmüller
parent 2001932a48
commit e4a066b068

View file

@ -12,7 +12,7 @@ short_desc="Free Objects for X: GUI Toolkit for C++"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.fox-toolkit.org/"
license="LGPL-2.1, MIT"
distfiles="http://ftp.fox-toolkit.org/pub/fox-$version.tar.gz"
distfiles="http://fox-toolkit.org/ftp/fox-$version.tar.gz"
checksum=172416625221e54dcc1c4293fc892b9695f1e952f4b895376e6604c6c3813d74
CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2"
@ -27,6 +27,10 @@ pre_build() {
sed -i "s#CXXFLAGS =.*#\0 $CXXFLAGS#" $(find -name Makefile)
}
post_install() {
vlicense LICENSE_ADDENDUM
}
fox-devel_package() {
depends="${makedepends} fox-${version}_${revision}"
short_desc+=" - development files"