vp-build/srcpkgs/python-webkit/template

24 lines
769 B
Bash

# Template file for 'python-webkit'
pkgname=python-webkit
version=1.1.8
revision=1
wrksrc=pywebkitgtk-${version}
build_style=gnu-configure
hostmakedepends="pkg-config pygtk-devel"
makedepends="python-devel pygtk-devel GConf-devel libxslt-devel webkitgtk2-devel"
depends="pygtk"
pycompile_module="webkit"
short_desc="Python Webkit DOM Bindings"
maintainer="pancake <pancake@nopcode.org>"
license="GPL-2"
homepage="http://www.gnu.org/software/pythonwebkit/"
distfiles="${DEBIAN_SITE}/main/p/pywebkitgtk/pywebkitgtk_${version}.orig.tar.gz"
checksum=7092212933000f23b3042135f01a371bd6a8f980c6b8d8b9dc7e20a1101d699c
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i "s,PYTHON_INCLUDES=.*,PYTHON_INCLUDES=-I${XBPS_CROSS_BASE}/usr/include/python2.7,g" configure
fi
}