void-packages/srcpkgs/libXpm/template

29 lines
752 B
Bash

# Template build file for 'libXpm'.
pkgname=libXpm
version=3.5.12
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libSM-devel libXext-devel libXt-devel"
short_desc="X PixMap Library from modular Xorg X11"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=fd6a6de3da48de8d1bb738ab6be4ad67f7cb0986c39bd3f7d51dd24f7854bdec
post_install() {
vlicense COPYING
vlicense COPYRIGHT
}
libXpm-devel_package() {
depends="libX11-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
}
}