void-packages/srcpkgs/ell/template

33 lines
811 B
Bash

# Template file for 'ell'
pkgname=ell
version=0.36
revision=1
build_style=gnu-configure
configure_args="--enable-glib"
hostmakedepends="pkg-config"
makedepends="libglib-devel"
checkdepends="dbus"
short_desc="Linux library for embedded development"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-2.0-only"
homepage="https://01.org/ell"
distfiles="${KERNEL_SITE}/libs/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=2f99e743a235b1c834b19112e4e0283d02da93b863899381466cde47bf159cf6
do_check() {
if [ "$XBPS_CHECK_PKGS" = full]; then
# tests depend on kernel features
dbus-run-session make check
fi
}
ell-devel_package() {
depends="ell-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}