2022-02-05 14:23:32 +00:00
|
|
|
# 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="libnfs"
|
2023-11-13 11:49:14 +00:00
|
|
|
PKG_VERSION="5.0.2"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="LGPL2.1+"
|
|
|
|
PKG_SITE="https://github.com/sahlberg/libnfs"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_URL="https://github.com/sahlberg/libnfs/archive/libnfs-${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="A client library for accessing NFS shares over a network."
|
|
|
|
PKG_TOOLCHAIN="autotools"
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-examples"
|
|
|
|
|
|
|
|
pre_configure_target() {
|
2023-02-24 13:53:43 +00:00
|
|
|
export CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|