wok-current annotate python-edje/receipt @ rev 25045
Update some wget_url or web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 08:33:59 2022 +0000 (2022-06-04) |
parents | b7f1bd1b9ac7 |
children | b8195d50d79f |
rev | line source |
---|---|
domcox@14416 | 1 # SliTaz package receipt. |
domcox@14416 | 2 |
domcox@14416 | 3 PACKAGE="python-edje" |
pascal@14706 | 4 VERSION="1.7.0" |
domcox@14416 | 5 CATEGORY="base-system" |
domcox@14692 | 6 SHORT_DESC="Python bindings for Edje" |
domcox@14416 | 7 MAINTAINER="domcox@slitaz.org" |
pascal@14995 | 8 LICENSE="LGPL2.1" |
domcox@14416 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20421 | 10 WEB_SITE="https://www.enlightenment.org/" |
pascal@25023 | 11 WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL" |
domcox@14692 | 12 TAGS="e enlightenment python" |
domcox@14416 | 13 |
domcox@14416 | 14 DEPENDS="edje python-evas libxml2" |
pascal@20590 | 15 BUILD_DEPENDS="file edje-dev python-evas-dev \ |
domcox@14416 | 16 python-cython autoconf automake git subversion libtool libxml2-dev" |
domcox@14416 | 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-edje/ 2>/dev/null | \ |
pascal@24713 | 22 sed '/python-edje [0-9]/!d;s|.*je ||;q' |
pascal@24713 | 23 } |
pascal@24713 | 24 |
domcox@14416 | 25 # Rules to configure and make the package. |
domcox@14416 | 26 compile_rules() |
domcox@14416 | 27 { |
domcox@14416 | 28 ./autogen.sh && |
domcox@14416 | 29 ./configure --prefix=/usr && |
al@18077 | 30 make $MAKEFLAGS all && make install |
domcox@14416 | 31 } |
domcox@14416 | 32 |
domcox@14416 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14416 | 34 genpkg_rules() |
domcox@14416 | 35 { |
domcox@14416 | 36 mkdir -p $fs/usr/lib |
domcox@14416 | 37 cp -a $install/usr/lib/python2.7 $fs/usr/lib |
domcox@14416 | 38 } |