void-packages/srcpkgs/libXmu/template

29 lines
742 B
Bash

# Template build file for 'libXmu'.
pkgname=libXmu
version=1.1.2
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libXext-devel libXt-devel"
short_desc="X Miscellaneous Utilities library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=756edc7c383254eef8b4e1b733c3bf1dc061b523c9f9833ac7058378b8349d0b
post_install() {
vlicense COPYING
}
libXmu-devel_package() {
depends="xorgproto libXext-devel libXt-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}