void-packages/srcpkgs/libXpm/template

30 lines
756 B
Bash

# Template file for 'libXpm'
pkgname=libXpm
version=3.5.16
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=e6bc5da7a69dbd9bcc67e87c93d4904fe2f5177a0711c56e71fa2f6eff649f51
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
}
}