void-packages/srcpkgs/liboil/template

28 lines
719 B
Bash

# Template file for 'liboil'
pkgname=liboil
version=0.3.17
revision=6
build_style=gnu-configure
hostmakedepends="pkg-config"
short_desc="Library of Optimized Inner Loops, CPU optimized functions"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="BSD-2-Clause"
homepage="${XORG_HOME}"
distfiles="http://liboil.freedesktop.org/download/$pkgname-$version.tar.gz"
checksum=105f02079b0b50034c759db34b473ecb5704ffa20a5486b60a8b7698128bfc69
post_install() {
vlicense COPYING
}
liboil-devel_package() {
depends="liboil>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
}
}