void-packages/srcpkgs/libXpm/template
2020-02-27 10:16:44 +01:00

29 lines
753 B
Bash

# Template file for 'libXpm'
pkgname=libXpm
version=3.5.13
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.bz2"
checksum=9cd1da57588b6cb71450eff2273ef6b657537a9ac4d02d0014228845b935ac25
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
}
}