wok-6.x view python-edje/receipt @ rev 25107
Up open-iscsi (2.0.873)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 17:23:49 2022 +0000 (2022-06-22) |
parents | b7f1bd1b9ac7 |
children | b8195d50d79f |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-edje"
4 VERSION="1.7.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Python bindings for Edje"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.enlightenment.org/"
11 WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
12 TAGS="e enlightenment python"
14 DEPENDS="edje python-evas libxml2"
15 BUILD_DEPENDS="file edje-dev python-evas-dev \
16 python-cython autoconf automake git subversion libtool libxml2-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://pypi.org/project/python-edje/ 2>/dev/null | \
22 sed '/python-edje [0-9]/!d;s|.*je ||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure --prefix=/usr &&
30 make $MAKEFLAGS all && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/python2.7 $fs/usr/lib
38 }