void-packages/srcpkgs/libmodule/template

26 lines
672 B
Bash

# Template file for 'libmodule'
pkgname=libmodule
version=4.1.0
revision=1
build_style=cmake
short_desc="C simple and elegant implementation of an actor library"
maintainer="Dominic Monroe <monroef4@googlemail.com>"
license="MIT"
homepage="https://github.com/FedeDP/libmodule"
distfiles="https://github.com/FedeDP/libmodule/archive/${version}.tar.gz"
checksum=14294e63e3ff26ddbf80ca359e3d78ea3a1207692fc137a8020ec1fbe0ec47bd
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"
}
}