void-packages/srcpkgs/libcdr/template

40 lines
1 KiB
Bash
Raw Normal View History

2014-09-29 21:22:55 +00:00
# Template file for 'libcdr'
pkgname=libcdr
2014-11-25 12:51:56 +00:00
version=0.1.1
2015-08-05 10:59:53 +00:00
revision=3
2014-09-29 21:22:55 +00:00
build_style=gnu-configure
short_desc="Corel Draw file format importer library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2015-07-11 09:48:30 +00:00
license="LGPL-2.1/MPL"
2015-08-05 10:59:53 +00:00
makedepends="lcms2-devel icu55-devel librevenge-devel boost-devel"
2014-09-29 21:22:55 +00:00
hostmakedepends="pkg-config"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libcdr"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.bz2"
2014-11-25 12:51:56 +00:00
checksum=72fe7bbbf2275242acdf67ad2f9b6c71ac9146a56c409def360dabcac5695b49
2014-09-29 21:22:55 +00:00
configure_args="--enable-debug"
2015-07-11 09:48:30 +00:00
post_configure() {
local _f
# -O0 prevents _FORTIFY_SOURCE working
for _f in $(find ${wrksrc} -name Makefile); do
sed -i $_f -e "s; -O0;;"
done
}
2014-09-29 21:22:55 +00:00
libcdr-devel_package() {
depends="libcdr>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libcdr-tools_package() {
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
}
}