30 lines
771 B
Bash
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
|
|
}
|
|
}
|