void-packages/srcpkgs/libdmx/template

25 lines
670 B
Bash

# Template build file for 'libdmx'.
pkgname=libdmx
version=1.1.3
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="dmxproto libXext-devel"
short_desc="DMX Extension for X"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=c97da36d2e56a2d7b6e4f896241785acc95e97eb9557465fd66ba2a155a7b201
libdmx-devel_package() {
depends="dmxproto libXext-devel libdmx>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share
}
}