void-packages/srcpkgs/libXfont2/template

29 lines
751 B
Bash

# Template file for 'libXfont2'
pkgname=libXfont2
version=2.0.2
revision=1
hostmakedepends="pkg-config"
makedepends="xproto xtrans fontcacheproto fontsproto freetype-devel libfontenc-devel"
build_style=gnu-configure
short_desc="X font 2 Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=94088d3b87f7d42c7116d9adaad155859e93330c6e47f5989f2de600b9a6c111
post_install() {
vlicense COPYING
}
libXfont2-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}