void-packages/srcpkgs/libXpm/template

30 lines
756 B
Bash

# Template file for 'libXpm'
pkgname=libXpm
version=3.5.17
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=64b31f81019e7d388c822b0b28af8d51c4622b83f1f0cb6fa3fc95e271226e43
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
}
}