dbus-python: split dbus-python3 into its own srcpkg; dbus-python can be cross compiled now.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
dbus-python
|
||||
22
srcpkgs/dbus-python3/template
Normal file
22
srcpkgs/dbus-python3/template
Normal file
@@ -0,0 +1,22 @@
|
||||
# Template file for 'dbus-python3'
|
||||
pkgname=dbus-python3
|
||||
version=1.2.0
|
||||
revision=2
|
||||
wrksrc="${pkgname/3/}-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="PYTHON=python3"
|
||||
hostmakedepends="pkg-config python3-devel"
|
||||
makedepends="glib-devel dbus-glib-devel python3-devel"
|
||||
depends="python3"
|
||||
short_desc="D-Bus Python bindings"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2, LGPL-2.1"
|
||||
homepage="http://www.freedesktop.org/wiki/Software/DBusBindings"
|
||||
distfiles="http://dbus.freedesktop.org/releases/${pkgname/3/}/${pkgname/3/}-${version}.tar.gz"
|
||||
checksum=e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df
|
||||
|
||||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/share/doc
|
||||
# Remove development files, provided by dbus-python-devel.
|
||||
rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig
|
||||
}
|
||||
Reference in New Issue
Block a user