2009-03-19 02:44:20 +00:00
|
|
|
# Template build file for 'libXfont'.
|
2008-10-04 04:29:49 +00:00
|
|
|
pkgname=libXfont
|
2014-05-16 06:30:52 +00:00
|
|
|
version=1.4.8
|
2013-07-22 07:05:32 +00:00
|
|
|
revision=1
|
2014-01-07 18:25:53 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="xproto xtrans fontcacheproto fontsproto freetype-devel libfontenc-devel"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-05-16 06:30:52 +00:00
|
|
|
configure_args="--disable-devel-docs --disable-silent-rules"
|
2008-10-01 15:07:54 +00:00
|
|
|
short_desc="X font Library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-11 07:02:53 +00:00
|
|
|
homepage="http://xorg.freedesktop.org/"
|
|
|
|
license="MIT"
|
2012-10-10 09:18:13 +00:00
|
|
|
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
|
2014-05-16 06:30:52 +00:00
|
|
|
checksum=5568d4febf790fb250fb8d4ecf1f389a428eb545a79fb2abe9c82f652d14d005
|
2011-08-11 07:02:53 +00:00
|
|
|
|
2014-06-28 06:18:37 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,fontsproto < 2.1.3,fontsproto <= 2.1.3,g' -i configure
|
|
|
|
}
|
2012-03-03 04:48:46 +00:00
|
|
|
post_install() {
|
2011-08-11 07:02:53 +00:00
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
libXfont-devel_package() {
|
|
|
|
depends="xproto fontsproto zlib-devel libfontenc-devel freetype-devel
|
2014-01-07 18:25:53 +00:00
|
|
|
libXfont>=${version}_${revision}"
|
2013-07-22 07:05:32 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
2013-07-22 07:05:32 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|