# SliTaz package receipt. PACKAGE="pygobject3" SOURCE="pygobject" VERSION="3.18.2" CATEGORY="development" SHORT_DESC="Python bindings for the GObject3 library" MAINTAINER="psychomaniak@xakep.ru" LICENSE="LGPL2.1" TARBALL="$SOURCE-$VERSION.tar.xz" WEB_SITE="https://live.gnome.org/PyGObject" WGET_URL="$GNOME_MIRROR/$SOURCE/${VERSION%.*}/$TARBALL" PROVIDE="python-gi" DEPENDS="python pycairo glib libffi libgio gtk-girepository" BUILD_DEPENDS="$DEPENDS python python-dev pkg-config glib-dev libgio-dev \ pycairo-dev cairo-dev libffi-dev gobject-introspection-dev" current_version() { wget -O - $(dirname $WGET_URL) 2>/dev/null | \ sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS > /dev/null 2>&1 # create ./libtool ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }