void-packages/srcpkgs/libdmx/template
2018-03-05 15:11:14 +01:00

29 lines
710 B
Bash

# Template build file for 'libdmx'.
pkgname=libdmx
version=1.1.3
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto 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
post_install() {
vlicense COPYING
}
libdmx-devel_package() {
depends="xorgproto 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
}
}