void-packages/srcpkgs/libosinfo/template

36 lines
1.1 KiB
Plaintext

# Template file for 'libosinfo'
pkgname=libosinfo
version=0.2.5
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-tests"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libglib-devel libsoup-gnome-devel libxml2-devel
libxslt-devel vala-devel"
short_desc="GObject based library API for managing info about operating systems"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="https://fedorahosted.org/libosinfo/"
license="GPL-2, LGPL-2.1"
distfiles="https://fedorahosted.org/releases/l/i/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=29829782b19c91fa89e4f4ae84bc9bd7e35a1273df2bc9cc7c4754ac3af79ef1
long_desc="
GObject based library API for managing information about operating systems,
hypervisors and the (virtual) hardware devices they can support."
libosinfo-devel_package() {
depends="libglib-devel ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}
libosinfo_package() {
pkg_install() {
vmove all
}
}