diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-26 16:28:58 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-10-11 07:32:03 +0000 |
commit | 7bcd31c117ee40a23db987d82b08266ea93b78e8 (patch) | |
tree | 55c166db656609f85ce81bcea43a4e9ba2fdccc8 | |
parent | 8613b57deac8fbc828a68e4cb6ad49540fd66bea (diff) | |
download | aports-7bcd31c117ee40a23db987d82b08266ea93b78e8.tar.bz2 aports-7bcd31c117ee40a23db987d82b08266ea93b78e8.tar.xz |
main/libnfs: upgrade to 4.0.0
-rw-r--r-- | main/libnfs/APKBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/main/libnfs/APKBUILD b/main/libnfs/APKBUILD index 61df893920..93d8ea5200 100644 --- a/main/libnfs/APKBUILD +++ b/main/libnfs/APKBUILD @@ -1,24 +1,28 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libnfs -pkgver=3.0.0 +pkgver=4.0.0 pkgrel=0 pkgdesc="Client library for accessing NFS shares" url="https://github.com/sahlberg/libnfs" arch="all" options="!check" # No test suite. license="LGPL-2.1-or-later" -depends_dev="" -makedepends="$depends_dev autoconf automake m4 libtool" +makedepends="autoconf automake m4 libtool" subpackages="$pkgname-dev $pkgname-doc" source="https://github.com/sahlberg/libnfs/archive/libnfs-$pkgver.tar.gz fix-includes.patch" builddir="$srcdir"/libnfs-libnfs-$pkgver -build() { +prepare() { cd "$builddir" + default_prepare ./bootstrap +} + +build() { + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -32,8 +36,9 @@ build() { package() { cd "$builddir" - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install + rm -f "$pkgdir"/usr/lib/*.a } -sha512sums="9af31f8824431e9d28267c468dafc7cfc4062b1a280ca141036bc28a2ba544c4470a67955b5e5fbcc6c175435812381013b4c5d3d3d1a175d5efc7b802ae9b3b libnfs-3.0.0.tar.gz +sha512sums="3d93d83d1909f24de304c0d47fa6240da7ecf43ce2488a242a58ddabe51d774caf813f5a90ae720a8edd251a765b30e88c0e5b6a13ecb254dfecdc98e30737fa libnfs-4.0.0.tar.gz 14219122c6decf7e0e292a2962a7dbf9b2e408b87d8e22cf1761b742834e817652f3e4919dded00f645ccf79e035e03712e7072ec1cb23bfd24ad012e9183824 fix-includes.patch" |