wok view cairo-compmgr-core/receipt @ rev 18821

Add python-prompt-toolkit
author Paul Issott <paul@slitaz.org>
date Sat Jan 16 09:42:20 2016 +0000 (2016-01-16)
parents 76b72f1ad63c
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-compmgr-core"
4 VERSION="0.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Cairo composite manager - core files"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://cairo-compmgr.tuxfamily.org/"
10 SOURCE="cairo-compmgr"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://download.tuxfamily.org/ccm/$SOURCE/$TARBALL"
14 DEPENDS="libbfd libcairo-compmgr0"
15 BUILD_DEPENDS="xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXext-dev \
16 xorg-libXi-dev xorg-libSM-dev cairo-dev pixman-dev gtk+-dev vala \
17 xorg-libICE-dev xorg-libX11-dev util-linux-uuid-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # make needed pkg-config file
23 ln -s $(ls /usr/lib/pkgconfig/libvala-*.pc | sed q) /usr/lib/pkgconfig/vala-1.0.pc
25 # localization
26 cp -a $stuff/cairo-compmgr.pot $src/po
27 cp -a $stuff/ru.po $src/po
29 export LDFLAGS="$LDFLAGS $(pkg-config --libs ice gmodule-2.0 x11)"
31 ./configure $CONFIGURE_ARGS &&
32 make &&
33 make install
34 rm -f $install/usr/share/applications/*
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p \
41 $fs/usr/bin \
42 $fs/usr/share/applications \
43 $fs/usr/share/cairo-compmgr/ui \
44 $fs/usr/share/cairo-compmgr/schemas
45 cp -a $install/usr/bin/cairo-compmgr $fs/usr/bin
46 cp -a $install/usr/share/pixmaps $fs/usr/share
47 cp -a $install/usr/share/man $fs/usr/share
48 cp -a $stuff/cairo-compmgr.desktop $fs/usr/share/applications
49 cp -a $install/usr/share/cairo-compmgr/ui/ccm-preferences.ui \
50 $fs/usr/share/cairo-compmgr/ui
51 cp -a $install/usr/share/cairo-compmgr/schemas/ccm-display.schema-key \
52 $fs/usr/share/cairo-compmgr/schemas
53 }