Files
Arch-R/packages/network/libdnet/package.mk

28 lines
923 B
Makefile
Raw Normal View History

2018-07-16 20:45:36 +02: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="libdnet"
PKG_VERSION="1.14"
PKG_SHA256="592599c54a57102a177270f3a2caabda2c2ac7768b977d7458feba97da923dfe"
PKG_LICENSE="BSD"
PKG_SITE="https://github.com/ofalk/libdnet"
PKG_URL="https://github.com/ofalk/libdnet/archive/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A simplified, portable interface to several low-level networking routines"
2018-06-04 14:10:56 +02:00
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--enable-static \
--disable-shared \
2018-06-04 14:10:56 +02:00
--disable-python"
2018-06-11 18:28:03 +02:00
pre_configure_target() {
export CFLAGS+=" -I${PKG_BUILD}/include"
2018-06-11 18:28:03 +02:00
}
post_makeinstall_target() {
cp ${SYSROOT_PREFIX}/usr/bin/dnet-config \
${TOOLCHAIN}/bin/dnet-config
2018-06-11 18:28:03 +02:00
}