wok-next annotate clutter/receipt @ rev 20762
Add leanify
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 05 17:27:09 2018 +0300 (2018-06-05) |
parents | 835b3b8ce6ac |
children | f48456621a9d |
rev | line source |
---|---|
al@20388 | 1 # SliTaz package receipt v2. |
pankso@4423 | 2 |
pankso@4423 | 3 PACKAGE="clutter" |
al@20402 | 4 VERSION="1.26.2" |
pankso@4423 | 5 CATEGORY="x-window" |
al@20388 | 6 SHORT_DESC="Animated graphical user interfaces library" |
pankso@4423 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@20644 | 9 WEB_SITE="https://developer.gnome.org/clutter/" |
al@20402 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/clutter.html" |
al@20388 | 11 |
al@20402 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20402 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@4423 | 14 |
al@20402 | 15 BUILD_DEPENDS="glib-dev cogl-dev atk-dev json-glib-dev \ |
al@20644 | 16 gobject-introspection-dev gettext pango-dev" |
al@20388 | 17 SPLIT="clutter-dev" |
pankso@9808 | 18 |
al@20388 | 19 compile_rules() { |
pankso@4423 | 20 ./configure \ |
slaxemulator@10217 | 21 --enable-introspection \ |
al@20402 | 22 --enable-egl-backend \ |
pankso@4423 | 23 $CONFIGURE_ARGS && |
al@20569 | 24 fix libtool && |
al@20534 | 25 make && |
al@20534 | 26 make install || return 1 |
al@20388 | 27 |
al@20389 | 28 ln -s clutter-1.0.pc $install/usr/lib/pkgconfig/clutter.pc |
pankso@4423 | 29 } |
pankso@4423 | 30 |
al@20388 | 31 genpkg_rules() { |
al@20388 | 32 case $PACKAGE in |
al@20388 | 33 clutter) |
al@20388 | 34 copy @std |
al@20644 | 35 DEPENDS="atk cairo cogl fontconfig glib json-glib pango \ |
al@20644 | 36 xorg-libX11 xorg-libXcomposite xorg-libXdamage" |
al@20388 | 37 ;; |
al@20388 | 38 *-dev) |
al@20388 | 39 copy @dev |
al@20644 | 40 DEPENDS="clutter atk-dev cairo-dev cogl-dev glib-dev json-glib-dev \ |
al@20644 | 41 pango-dev xorg-libX11-dev xorg-libXcomposite-dev \ |
al@20644 | 42 xorg-libXdamage-dev xorg-libXext-dev" |
al@20388 | 43 ;; |
al@20388 | 44 esac |
pankso@4423 | 45 } |