wok view clutter/receipt @ rev 24757

pkg-config: cheat configure
author Hans-G?nter Theisgen
date Fri Mar 18 06:53:58 2022 +0100 (2022-03-18)
parents 03b2309fd335
children
line source
1 # SliTaz package receipt.
3 PACKAGE="clutter"
4 VERSION="1.6.20"
5 CATEGORY="x-window"
6 SHORT_DESC="Animated graphical user interfaces library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 SUGGESTED="nvidia"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://clutter-project.org/"
12 WGET_URL="http://www.clutter-project.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="atk libgio gdk-pixbuf cairo pango json-glib mesa libdrm \
15 xorg-libXcomposite"
16 BUILD_DEPENDS="atk-dev libgio-dev gdk-pixbuf-dev cairo-dev pango-dev \
17 json-glib-dev mesa-dev libdrm-dev xorg-libXcomposite-dev \
18 gobject-introspection-dev pkg-config libxml2-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - 'https://gitlab.gnome.org/GNOME/clutter/-/tags?sort=updated_desc' 2>/dev/null | \
24 sed '/item-title/!d;s|.*">||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure \
32 --enable-introspection \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
43 }