void-packages/srcpkgs/libXpm/template

30 lines
752 B
Bash

# Template file for 'libXpm'
pkgname=libXpm
version=3.5.14
revision=1
build_style=gnu-configure
hostmakedepends="gettext 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.xz"
checksum=f7eb8f69c039281def8258ae6859adb5f050fbe161ab3d6a2d6ef109a603eac2
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
}
}