void-packages/srcpkgs/libfontenc/template

31 lines
775 B
Plaintext

# Template build file for 'libfontenc'.
pkgname=libfontenc
version=1.1.1
revision=2
build_style=gnu-configure
configure_args="--with-fontrootdir=/usr/share/fonts/X11"
hostmakedepends="pkg-config"
makedepends="xproto zlib-devel"
short_desc="The fontenc Library from X.org"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=de72812f1856bb63bd2226ec8c2e2301931d3c72bd0f08b0d63a0cdf0722017f
libfontenc-devel_package() {
depends="xproto zlib-devel libfontenc>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}
libfontenc_package() {
pkg_install() {
vmove usr
}
}