2014-09-29 23:22:55 +02:00
|
|
|
# Template file for 'libcdr'
|
|
|
|
pkgname=libcdr
|
2014-11-25 13:51:56 +01:00
|
|
|
version=0.1.1
|
2015-08-05 12:59:53 +02:00
|
|
|
revision=3
|
2014-09-29 23:22:55 +02:00
|
|
|
build_style=gnu-configure
|
|
|
|
short_desc="Corel Draw file format importer library"
|
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
2015-07-11 11:48:30 +02:00
|
|
|
license="LGPL-2.1/MPL"
|
2015-08-05 12:59:53 +02:00
|
|
|
makedepends="lcms2-devel icu55-devel librevenge-devel boost-devel"
|
2014-09-29 23:22:55 +02: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 13:51:56 +01:00
|
|
|
checksum=72fe7bbbf2275242acdf67ad2f9b6c71ac9146a56c409def360dabcac5695b49
|
2014-09-29 23:22:55 +02:00
|
|
|
configure_args="--enable-debug"
|
|
|
|
|
2015-07-11 11:48:30 +02: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 23:22:55 +02: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
|
|
|
|
}
|
|
|
|
}
|