void-packages/srcpkgs/open-isns/template

34 lines
864 B
Bash

# Template file for 'open-isns'
pkgname=open-isns
version=0.103
revision=1
build_style=meson
makedepends="openssl-devel"
conf_files="/etc/isns/isnsdd.conf /etc/isns/isnsd.conf /etc/isns/isnsadm.conf"
short_desc="Server and client for iSNS"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.1"
homepage="https://github.com/open-iscsi/open-isns"
distfiles="https://github.com/open-iscsi/open-isns/archive/v${version}.tar.gz"
checksum=47499f3ce87a832840884dcf3eedbec8c039f472fe921a5378e3b206a3fc1a32
post_extract() {
vsed -i -e 's/builddir/build/g' tests/harness.py
}
libisns_package() {
short_desc+=" - library"
pkg_install() {
vmove usr/lib/*.so.*
}
}
libisns-devel_package() {
short_desc+=" - development files"
depends="libisns>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}