909f87a4c7
fixes CVE-2017-9433, patch from upstream git, revision 68b3b74569881248bfb6cbb4266177cc253b292f
32 lines
906 B
Bash
32 lines
906 B
Bash
# Template file for 'libmwaw'
|
|
pkgname=libmwaw
|
|
version=0.3.11
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config doxygen"
|
|
makedepends="boost-devel zlib-devel librevenge-devel"
|
|
short_desc="Import library for legacy Mac documents"
|
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
|
license="LGPL-2.1, MPL-2"
|
|
homepage="https://sourceforge.net/projects/libmwaw/"
|
|
distfiles="${SOURCEFORGE_SITE}/libmwaw/libmwaw/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
|
|
checksum=4b483a196bbe82bc0f7cb4cdf70ef1cedb91139bd2e037eabaed4a4d6ed2299a
|
|
|
|
libmwaw-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libmwaw-doc_package() {
|
|
noarch=yes
|
|
short_desc+=" - documentation"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|