void-packages/srcpkgs/libdmx/template

30 lines
702 B
Text

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