wok-current annotate pygobject/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
parents 76b72f1ad63c
children 2a362443b481
rev   line source
erjo@1175 1 # SliTaz package receipt.
erjo@1175 2
erjo@1175 3 PACKAGE="pygobject"
gokhlayeh@11413 4 VERSION="2.28.6"
erjo@1175 5 CATEGORY="development"
erjo@1175 6 SHORT_DESC="Python bindings for the GObject library"
erjo@1175 7 MAINTAINER="erjo@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
erjo@1175 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1413 10 WEB_SITE="http://www.pygtk.org/docs/pygobject/index.html"
slaxemulator@9490 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@1175 12
pascal@14996 13 DEPENDS="python pycairo glib libffi libgio"
al@18077 14 BUILD_DEPENDS="python python-dev pkg-config glib-dev libgio-dev pycairo-dev \
al@18077 15 cairo-dev libffi-dev"
pascal@14996 16
erjo@1175 17 # Rules to configure and make the package.
erjo@1175 18 compile_rules()
erjo@1175 19 {
gokhlayeh@11413 20 ./configure --disable-introspection $CONFIGURE_ARGS &&
slaxemulator@10230 21 make && make install
erjo@1175 22 }
erjo@1175 23
erjo@1175 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1175 25 genpkg_rules()
erjo@1175 26 {
pascal@6594 27 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
erjo@1175 28 mkdir -p $fs/usr/lib
pascal@14996 29 cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
pascal@14996 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@1175 31 }