wok-next view cairo-compmgr-core/receipt @ rev 14653
Normalize LICENSE according to wok/licenses package (gpl part)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 04 21:49:39 2013 +0200 (2013-06-04) |
parents | 65b9df799792 |
children | c14e3b59ed51 |
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="GPL3"
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"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # make needed pkg-config file
23 ln -s /usr/lib/pkgconfig/libvala-0.16.pc /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 }