-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathtemplate
More file actions
39 lines (35 loc) · 938 Bytes
/
template
File metadata and controls
39 lines (35 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Template file for 'libiscsi'
pkgname=libiscsi
version=1.20.3
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/refs/tags/${version}.tar.gz"
checksum=212f6e1fd8e7ddb4b02208aafc6de600f6f330f40359babeefdd83b0c79d47a1
#-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
}
}