36 lines
954 B
Bash
36 lines
954 B
Bash
# Template file for 'open-isns'
|
|
pkgname=open-isns
|
|
version=0.101
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-shared"
|
|
makedepends="libressl-devel"
|
|
make_install_args="install install_hdrs install_lib SYSTEMDDIR=/tmp"
|
|
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=f672ec86b6c9e984843a7a28d76f07e26393499c486f86034b8b18caa8deb556
|
|
|
|
post_extract() {
|
|
sed -i 's/ -Werror / /' configure
|
|
}
|
|
|
|
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/*.so
|
|
vmove usr/lib/*.a
|
|
}
|
|
}
|