wok-next diff python-elementary/receipt @ rev 20555
Fix "DSO missing..." error: loqui, xfprint, notification-daemon-gtk2, xfmedia, evince, celestia(?)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 17:43:57 2018 +0300 (2018-04-06) |
parents | da30720c01f0 |
children |
line diff
1.1 --- a/python-elementary/receipt Sat Jul 29 22:49:56 2017 +0200 1.2 +++ b/python-elementary/receipt Fri Apr 06 17:43:57 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="python-elementary" 1.8 VERSION="1.7.0" 1.9 @@ -6,26 +6,31 @@ 1.10 SHORT_DESC="Python bindings for Elementary" 1.11 MAINTAINER="domcox@slitaz.org" 1.12 LICENSE="LGPL3" 1.13 +WEB_SITE="http://www.enlightenment.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 -WEB_SITE="http://www.enlightenment.org/" 1.17 WGET_URL="http://download.enlightenment.org/releases/BINDINGS/python/$TARBALL" 1.18 -TAGS="e enlightenment python" 1.19 1.20 -DEPENDS="elementary python-evas" 1.21 -BUILD_DEPENDS="elementary-dev python-evas-dev python-cython udev \ 1.22 -autoconf automake git subversion libtool" 1.23 +BUILD_DEPENDS="shared-mime-info elementary-dev python-evas-dev python-cython \ 1.24 +eudev autoconf automake git subversion libtool" 1.25 +SPLIT="python-elementary-dev" 1.26 1.27 -# Rules to configure and make the package. 1.28 -compile_rules() 1.29 -{ 1.30 +compile_rules() { 1.31 ./autogen.sh && 1.32 ./configure --prefix=/usr && 1.33 make $MAKEFLAGS all && make install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr/lib 1.40 - cp -a $install/usr/lib/python2.7 $fs/usr/lib 1.41 +genpkg_rules() { 1.42 + case $PACKAGE in 1.43 + python-elementary) 1.44 + copy @std 1.45 + DEPENDS="elementary python-evas" 1.46 + TAGS="e enlightenment python" 1.47 + ;; 1.48 + python-elementary-dev) 1.49 + copy @dev 1.50 + DEPENDS="python-elementary elementary-dev python-evas-dev" 1.51 + ;; 1.52 + esac 1.53 }