2009-03-19 02:17:57 +00:00
|
|
|
# Template build file for 'fontconfig'.
|
2008-10-04 04:29:49 +00:00
|
|
|
pkgname=fontconfig
|
2014-04-21 10:27:30 +00:00
|
|
|
version=2.11.1
|
2014-12-20 08:27:48 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-01-12 14:57:04 +00:00
|
|
|
configure_args="--disable-static --enable-docs --with-cache-dir=/var/cache/$pkgname"
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="expat-devel zlib-devel freetype-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/fonts/fonts.conf"
|
2008-10-02 07:09:21 +00:00
|
|
|
short_desc="Library for configuring and customizing font access"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-08-07 21:17:58 +00:00
|
|
|
homepage="http://www.fontconfig.org"
|
|
|
|
license="MIT"
|
|
|
|
distfiles="http://www.freedesktop.org/software/fontconfig/release/$pkgname-$version.tar.bz2"
|
2014-04-21 10:27:30 +00:00
|
|
|
checksum=dc62447533bca844463a3c3fd4083b57c90f18a70506e7a9f4936b5a1e516a99
|
2013-04-12 09:16:02 +00:00
|
|
|
|
2014-12-20 08:27:48 +00:00
|
|
|
post_install() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
sed -i 's,\(Cflags: -I${includedir}\).*,\1,g' ${DESTDIR}/usr/lib/pkgconfig/fontconfig.pc
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2013-04-12 09:16:02 +00:00
|
|
|
fontconfig-devel_package() {
|
2014-12-19 10:39:48 +00:00
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
2013-05-20 18:43:52 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:16:02 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-08-31 07:47:19 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 09:16:02 +00:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|