mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
27 lines
901 B
Makefile
27 lines
901 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="pygobject"
|
|
PKG_VERSION="2.28.7"
|
|
PKG_SHA256="bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a"
|
|
PKG_LICENSE="LGPL"
|
|
PKG_SITE="http://www.pygtk.org/"
|
|
PKG_URL="http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/$PKG_NAME-$PKG_VERSION.tar.xz"
|
|
PKG_DEPENDS_TARGET="toolchain Python3 glib libffi"
|
|
PKG_LONGDESC="A convenient wrapper for the GObject+ library for use in Python programs."
|
|
PKG_TOOLCHAIN="autotools"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-thread --disable-introspection"
|
|
|
|
pre_configure_target() {
|
|
export PYTHON_INCLUDES="$($SYSROOT_PREFIX/usr/bin/python3-config --includes)"
|
|
}
|
|
|
|
post_makeinstall_target() {
|
|
python_remove_source
|
|
|
|
rm -rf $INSTALL/usr/bin
|
|
rm -rf $INSTALL/usr/share/pygobject
|
|
}
|