void-packages/srcpkgs/ell/template
2021-09-27 02:15:57 -03:00

32 lines
871 B
Bash

# Template file for 'ell'
# ell ABI isn't stable! Always test dependants after updates and update common/shlibs
pkgname=ell
version=0.44
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=41a6f8fa4d285b52cb7a5a87bda3e7370ecaac02d94aaa7ec1a23f0480b8bc3f
# tests depend on kernel features
make_check=extended
do_check() {
dbus-run-session make check
}
ell-devel_package() {
depends="ell-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}