void-packages/srcpkgs/libdmx/template
maxice8 13c1b6a6fe
libdmx: update to 1.1.4.
Closes #14409.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-18 09:38:25 +02:00

30 lines
771 B
Bash

# Template build file for 'libdmx'.
pkgname=libdmx
version=1.1.4
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="libXext-devel"
short_desc="DMX Extension for X"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://wiki.freedesktop.org/xorg/"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=253f90005d134fa7a209fbcbc5a3024335367c930adf0f3203e754cf32747243
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
}
}