void-packages/srcpkgs/libXpm/template

32 lines
811 B
Text

# Template build file for 'libXpm'.
pkgname=libXpm
version=3.5.10
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xproto libSM-devel libXext-devel libXt-devel"
short_desc="X PixMap Library from modular Xorg X11"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=a6db7e234750e7d60330017972e31d8e1f29f0a8c1391e4ac82f6102d919a735
long_desc="
XPM (X PixMap) is a format for storing and retrieving X pixmaps
to and from files."
libXpm-devel_package() {
depends="libX11-devel libXpm>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
}
}
libXpm_package() {
pkg_install() {
vmove usr
}
}