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

24 lines
969 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libXt"
PKG_VERSION="1.3.0"
PKG_SHA256="52820b3cdb827d08dc90bdfd1b0022a3ad8919b57a39808b12591973b331bf91"
PKG_LICENSE="OSS"
PKG_SITE="https://www.X.org"
PKG_URL="https://xorg.freedesktop.org/archive/individual/lib/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain util-macros libX11 libSM"
PKG_LONGDESC="libXt provides the X Toolkit Intrinsics library, an abstract widget library upon which other toolkits are based."
PKG_CONFIGURE_OPTS_TARGET="--disable-static \
--enable-shared \
--with-gnu-ld \
--enable-malloc0returnsnull"
pre_make_target() {
make -C util CC=${HOST_CC} \
CFLAGS="${HOST_CFLAGS} " \
LDFLAGS="${HOST_LDFLAGS}" \
makestrs
}