void-packages/srcpkgs/libXfont/template

31 lines
867 B
Text
Raw Normal View History

# Template build file for 'libXfont'.
pkgname=libXfont
2014-01-07 18:25:53 +00:00
version=1.4.7
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"
build_style=gnu-configure
2013-03-25 05:01:20 +00:00
configure_args="--disable-devel-docs"
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"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
2014-01-07 18:25:53 +00:00
checksum=d16ea3541835d296b19cfb05d7e64fc62173d8e7eb93284402ec761b951d1543
2011-08-11 07:02:53 +00:00
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}
}
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"
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"
}
}