void-packages/srcpkgs/libXfont/template

38 lines
923 B
Plaintext
Raw Normal View History

# Template build file for 'libXfont'.
pkgname=libXfont
2013-07-22 09:05:32 +02:00
version=1.4.6
revision=1
build_style=gnu-configure
2013-03-25 06:01:20 +01:00
configure_args="--disable-devel-docs"
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"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
2013-07-22 09:05:32 +02:00
checksum=d0cbfe4554dc17ceea413cdad5601d35ed8d05d5b880e60931a8775fd1157e9f
2013-07-22 09:07:55 +02:00
hostmakedepends="pkg-config"
makedepends="xproto xtrans 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}
}
libXfont-devel_package() {
depends="xproto fontsproto zlib-devel libfontenc-devel freetype-devel
libXfont-${version}_${revision}"
2013-07-22 09:05:32 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
2013-07-22 09:05:32 +02:00
vmove "usr/lib/*.so"
}
}
libXfont_package() {
pkg_install() {
vmove usr
}
}