wok-next view python-edbus/receipt @ rev 20554
Fix build brasero, clutter-gtk, freetype-infinality, gnome-commander
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 16:49:09 2018 +0300 (2018-04-06) |
parents | 79ea4cfe08cc |
children | 9e5dca6702bf |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="python-edbus"
4 VERSION="1.7.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Python bindings for edbus"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.enlightenment.org/"
11 TARBALL="python-e_dbus-$VERSION.tar.bz2"
12 WGET_URL="http://download.enlightenment.org/releases/BINDINGS/python/$TARBALL"
14 BUILD_DEPENDS="edbus-dev python-dev dbus-python-dev python-cython dbus-helper
15 autoconf automake git subversion libtool"
16 SPLIT="python-edbus-dev"
18 compile_rules() {
19 ./autogen.sh &&
20 ./configure --prefix=/usr &&
21 make $MAKEFLAGS all && make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 python-edbus)
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/python2.7 $fs/usr/lib
29 DEPENDS="edbus dbus-python dbus-helper"
30 TAGS="e enlightenment python"
31 ;;
32 *-dev)
33 mkdir -p $fs/usr/lib
34 # cp -a $install/usr/include $fs/usr
35 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
36 DEPENDS="edbus-dev python-dev dbus-python-dev dbus-helper"
37 ;;
38 esac
39 }