8b96d62c16
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
39 lines
928 B
Bash
39 lines
928 B
Bash
# Template file for 'libiscsi'
|
|
pkgname=libiscsi
|
|
version=1.19.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="ISCSI client library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only, LGPL-2.1-only"
|
|
homepage="https://github.com/sahlberg/libiscsi"
|
|
distfiles="https://github.com/sahlberg/libiscsi/archive/${version}.tar.gz"
|
|
checksum=c7848ac722c8361d5064654bc6e926c2be61ef11dd3875020a63931836d806df
|
|
|
|
#-Wno-unknown-warning-option causes build failure,
|
|
#this will keep build from failing
|
|
CFLAGS="-Wno-error"
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
libiscsi-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libiscsi-tools_package() {
|
|
short_desc+=" - tools"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/share/man
|
|
}
|
|
}
|