void-packages/srcpkgs/libmodule/template

26 lines
663 B
Bash

# Template file for 'libmodule'
pkgname=libmodule
version=5.0.0
revision=1
build_style=cmake
short_desc="C simple and elegant implementation of an actor library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/FedeDP/libmodule"
distfiles="https://github.com/FedeDP/libmodule/archive/${version}.tar.gz"
checksum=fa82567c56313b69bea589f7a1a027217b722b9c885c2d645a826d8af307a6c9
post_install() {
vlicense LICENSE
}
libmodule-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/pkgconfig
vmove "usr/lib/*.so"
}
}