wok-next view cairo-compmgr/receipt @ rev 20626
librevenge: fix build for new toolchain
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 26 13:06:21 2018 +0300 (2018-04-26) |
parents | 9e5dca6702bf |
children | b156aee559a7 |
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="libbfd gtk+ vala xorg-libSM xorg-libXi"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }