libnfs5: reinstate libnfs 5.0.3 to support mpd-0.23

This commit is contained in:
Rudi Heitbaum 2025-02-02 06:08:47 +00:00
parent f8c01ef703
commit 947511e4c0

View File

@ -0,0 +1,20 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libnfs5"
PKG_VERSION="5.0.3"
PKG_SHA256="d945cb4f4c8f82ee1f3640893a168810f794a28e1010bb007ec5add345e9df3e"
PKG_LICENSE="LGPL2.1+"
PKG_SITE="https://github.com/sahlberg/libnfs"
PKG_URL="https://github.com/sahlberg/libnfs/archive/libnfs-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A client library for accessing NFS shares over a network."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="-sysroot"
PKG_CONFIGURE_OPTS_TARGET="--disable-examples --disable-shared"
pre_configure_target() {
export CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
}