SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-edje"

# SliTaz package receipt.

PACKAGE="python-edje"
VERSION="1.7.0"
CATEGORY="base-system"
SHORT_DESC="Python bindings for Edje"
MAINTAINER="domcox@slitaz.org"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.enlightenment.org/"
WGET_URL="https://web.archive.org/web/20150908092158if_/https://download.enlightenment.org/releases/BINDINGS/python/$TARBALL"
TAGS="e enlightenment python"

DEPENDS="edje python-evas libxml2"
BUILD_DEPENDS="file edje-dev python-evas-dev \
python-cython autoconf automake git subversion libtool libxml2-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://pypi.org/project/python-edje/ 2>/dev/null | \
    sed '/python-edje [0-9]/!d;s|.*je ||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure --prefix=/usr &&
    make $MAKEFLAGS all && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/python2.7 $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)