distribution/packages/x11/lib/libpciaccess/package.mk

22 lines
781 B
Makefile
Raw Normal View History

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="libpciaccess"
PKG_VERSION="0.17"
PKG_SHA256="74283ba3c974913029e7a547496a29145b07ec51732bbb5b5c58d5025ad95b73"
2022-02-05 14:23:32 +00:00
PKG_LICENSE="OSS"
PKG_SITE="https://freedesktop.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/${PKG_NAME}-${PKG_VERSION}.tar.xz"
2022-02-05 14:23:32 +00:00
PKG_DEPENDS_TARGET="toolchain util-macros zlib"
PKG_LONGDESC="X.org libpciaccess library."
PKG_TOOLCHAIN="autotools"
2022-02-05 14:23:32 +00:00
PKG_CONFIGURE_OPTS_TARGET="ac_cv_header_asm_mtrr_h=set \
--with-pciids-path=/usr/share \
--with-zlib "
pre_configure_target() {
CFLAGS+=" -D_LARGEFILE64_SOURCE"
}