mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
30 lines
1.2 KiB
Makefile
30 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
PKG_NAME="pygobject"
|
|
PKG_VERSION="2.28.7"
|
|
PKG_SHA256="bb9d25a3442ca7511385a7c01b057492095c263784ef31231ffe589d83a96a5a"
|
|
PKG_ARCH="any"
|
|
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 Python2 glib libffi"
|
|
PKG_SECTION="python/devel"
|
|
PKG_SHORTDESC="pygobject: The Python bindings for GObject"
|
|
PKG_LONGDESC="PyGObject provides a convenient wrapper for the GObject+ library for use in Python programs, and takes care of many of the boring details such as managing memory and type casting. When combined with PyGTK, PyORBit and gnome-python, it can be used to write full featured Gnome applications."
|
|
PKG_TOOLCHAIN="autotools"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-thread --disable-introspection"
|
|
|
|
pre_configure_target() {
|
|
export PYTHON_INCLUDES="$($SYSROOT_PREFIX/usr/bin/python2-config --includes)"
|
|
}
|
|
|
|
post_makeinstall_target() {
|
|
find $INSTALL/usr/lib -name "*.py" -exec rm -rf "{}" ";"
|
|
find $INSTALL/usr/lib -name "*.pyc" -exec rm -rf "{}" ";"
|
|
|
|
rm -rf $INSTALL/usr/bin
|
|
rm -rf $INSTALL/usr/share/pygobject
|
|
}
|