aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptrcnull <git@ptrcnull.me>2022-10-11 00:54:10 +0200
committeralice <alice@ayaya.dev>2022-10-11 09:37:01 +0000
commitda2ea9cb47b5e3e094ff5b11f89346f00b67d25e (patch)
tree403900ef2eea5d8868ad80a5a8dec43f724361eb
parentb9a0a670658435378bb3fbf147a596b2edf74147 (diff)
downloadaports-da2ea9cb47b5e3e094ff5b11f89346f00b67d25e.tar.gz
aports-da2ea9cb47b5e3e094ff5b11f89346f00b67d25e.tar.bz2
aports-da2ea9cb47b5e3e094ff5b11f89346f00b67d25e.tar.xz
main/open-isns: upgrade to 0.102
-rw-r--r--main/open-isns/APKBUILD37
1 files changed, 10 insertions, 27 deletions
diff --git a/main/open-isns/APKBUILD b/main/open-isns/APKBUILD
index 03ba0b5047..d0aebceebc 100644
--- a/main/open-isns/APKBUILD
+++ b/main/open-isns/APKBUILD
@@ -1,48 +1,31 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=open-isns
-pkgver=0.101
-pkgrel=3
+pkgver=0.102
+pkgrel=0
pkgdesc="iSNS server and client for Linux"
url="https://github.com/open-iscsi/open-isns"
arch="all"
license="LGPL-2.1-or-later"
-makedepends="autoconf automake openssl-dev>3 musl-dev"
+makedepends="meson openssl-dev>3 musl-dev"
options="!check"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lib"
source="$pkgname-$pkgver.tar.gz::https://github.com/open-iscsi/open-isns/archive/v$pkgver.tar.gz
"
-prepare() {
- default_prepare
- update_config_sub
- autoreconf -fi
-}
-
build() {
- CFLAGS="$CFLAGS -Wno-error" \
- ./configure \
- --host=$CHOST \
- --build=$CBUILD \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --enable-shared
- make all
+ abuild-meson . output
+ meson compile -C output
}
package() {
- make DESTDIR="$pkgdir" install
- make DESTDIR="$pkgdir" install_hdrs
- make DESTDIR="$pkgdir" install_lib
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
rm -rf "$pkgdir"/usr/lib/systemd
- rm -rf "$pkgdir"/usr/lib/*.a
}
lib() {
- cd "$builddir"
- mkdir -p "$subpkgdir"/usr
- mv "$pkgdir"/usr/lib "$subpkgdir"/usr
+ amove usr/lib
}
-sha512sums="e5a392127b0d85f36e9e4aa963c0c502af8c5aea0aba6d12abb4425649969dcc20ba6e87a99083626d981438439b17b71a86320f816042d82ed5dbe7e7a63e77 open-isns-0.101.tar.gz"
+sha512sums="
+f5ae8af89b85565181c2f6def9834d9dab0a15d5d9b28721cce116c5580173ed9adba219e1ede48988cb57f047578db4ece458c4a7db598412c7583e56393d2b open-isns-0.102.tar.gz
+"