wok-next view cairo-compmgr/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 835b3b8ce6ac |
children | a3c581bf52b8 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairo-compmgr"
4 VERSION="0.3.0"
5 CATEGORY="meta"
6 SHORT_DESC="Cairo composite manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://cairo-compmgr.tuxfamily.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://download.tuxfamily.org/ccm/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXext-dev \
15 xorg-libXi-dev xorg-libSM-dev cairo-dev xorg-pixman-dev gtk+-dev vala \
16 xorg-libICE-dev xorg-libX11-dev util-linux-uuid-dev intltool"
17 SPLIT="cairo-compmgr-dev"
19 compile_rules() {
20 # make needed pkg-config file
21 ln -s $(ls /usr/lib/pkgconfig/libvala-*.pc | sed q) /usr/lib/pkgconfig/vala-1.0.pc
23 # localization
24 cp -a $stuff/cairo-compmgr.pot $src/po
25 cp -a $stuff/ru.po $src/po
27 export LDFLAGS="$LDFLAGS $(pkg-config --libs ice gmodule-2.0 x11)"
29 ./configure $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install || return 1
34 rm -f $install/usr/share/applications/*
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 cairo-compmgr)
40 copy @std
41 DEPENDS="cairo gdk-pixbuf glib gtk+ pango vala xorg-libICE \
42 xorg-libSM xorg-libX11 xorg-libXcomposite xorg-libXdamage \
43 xorg-libXext xorg-libXfixes xorg-libXi xorg-pixman"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="cairo-compmgr \
48 GConf-dev cairo-dev gtk+-dev"
49 ;;
50 esac
51 }