wok annotate python-elementary/receipt @ rev 25554
Up fakeroot (1.31)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 12 20:31:24 2023 +0000 (19 months ago) |
parents | 192db54e5c3d |
children |
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@25446 | 11 WGET_URL="https://web.archive.org/web/20150908092224if_/https://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 } |