distribution/packages/x11/lib/libXi/package.mk
fewtarius e3c2ecee27
* Start work on PS2 support, thanks in part to @CoreELEC and @batocera-linux.
* Add LMSensors for sensor and fan control (work in progress).
2022-09-04 17:43:37 -04:00

32 lines
1.2 KiB
Makefile

# 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="libXi"
PKG_VERSION="1.8"
PKG_SHA256="2ed181446a61c7337576467870bc5336fc9e222a281122d96c4d39a3298bba00"
PKG_LICENSE="OSS"
PKG_SITE="http://www.x.org/"
PKG_URL="https://www.x.org/archive/individual/lib/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain util-macros libX11 libXfixes libXext"
PKG_LONGDESC="LibXi provides an X Window System client interface to the XINPUT extension to the X protocol."
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--enable-static --disable-shared \
--enable-malloc0returnsnull \
--disable-silent-rules \
--disable-docs \
--disable-specs \
--without-xmlto \
--without-fop \
--without-xsltproc \
--without-asciidoc \
--with-gnu-ld"
pre_configure_target() {
TARGET_LDFLAGS="${LDFLAGS} -lXext"
}
post_configure_target() {
libtool_remove_rpath libtool
}