wok-6.x annotate python-elementary/receipt @ rev 25010
updated ode and ode-dev (0.16.1 -> 0.16.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 17:33:55 2022 +0100 (2022-05-16) |
parents | 22980cdd8a20 |
children | 192db54e5c3d |
rev | line source |
---|---|
domcox@14433 | 1 # SliTaz package receipt. |
domcox@14433 | 2 |
domcox@14433 | 3 PACKAGE="python-elementary" |
pascal@14706 | 4 VERSION="1.7.0" |
domcox@14433 | 5 CATEGORY="base-system" |
domcox@14694 | 6 SHORT_DESC="Python bindings for Elementary" |
domcox@14433 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@14997 | 8 LICENSE="LGPL3" |
domcox@14433 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20421 | 10 WEB_SITE="https://www.enlightenment.org/" |
pascal@14706 | 11 WGET_URL="http://download.enlightenment.org/releases/BINDINGS/python/$TARBALL" |
domcox@14694 | 12 TAGS="e enlightenment python" |
domcox@14433 | 13 |
domcox@14433 | 14 DEPENDS="elementary python-evas" |
al@18077 | 15 BUILD_DEPENDS="elementary-dev python-evas-dev python-cython \ |
pascal@20590 | 16 autoconf automake git subversion libtool file" |
domcox@14433 | 17 |
pascal@24713 | 18 # What is the latest version available today? |
pascal@24713 | 19 current_version() |
pascal@24713 | 20 { |
pascal@24713 | 21 wget -O - https://pypi.org/project/python-elementary/ 2>/dev/null | \ |
pascal@24713 | 22 sed '/python-elementary [0-9]/!d;s|.*ry ||;q' |
pascal@24713 | 23 } |
pascal@24713 | 24 |
domcox@14433 | 25 # Rules to configure and make the package. |
domcox@14433 | 26 compile_rules() |
domcox@14433 | 27 { |
domcox@14433 | 28 ./autogen.sh && |
domcox@14433 | 29 ./configure --prefix=/usr && |
al@18077 | 30 make $MAKEFLAGS all && make install |
domcox@14433 | 31 } |
domcox@14433 | 32 |
domcox@14433 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14433 | 34 genpkg_rules() |
domcox@14433 | 35 { |
domcox@14433 | 36 mkdir -p $fs/usr/lib |
domcox@14433 | 37 cp -a $install/usr/lib/python2.7 $fs/usr/lib |
domcox@14433 | 38 } |