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