wok diff cairo-compmgr-core/receipt @ rev 14075
cairo-compmgr: split source like in $src/debian
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Feb 22 16:33:13 2013 +0000 (2013-02-22) |
parents | |
children | 01010da01a4a |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cairo-compmgr-core/receipt Fri Feb 22 16:33:13 2013 +0000 1.3 @@ -0,0 +1,53 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cairo-compmgr-core" 1.7 +VERSION="0.3.0" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Cairo composite manager - core files" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPLv3" 1.12 +WEB_SITE="http://cairo-compmgr.tuxfamily.org/" 1.13 +SOURCE="cairo-compmgr" 1.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 +WGET_URL="http://download.tuxfamily.org/ccm/$SOURCE/$TARBALL" 1.16 + 1.17 +DEPENDS="libbfd libcairo-compmgr0" 1.18 +BUILD_DEPENDS="xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXext-dev \ 1.19 +xorg-libXi-dev xorg-libSM-dev cairo-dev pixman-dev gtk+-dev vala \ 1.20 +xorg-libICE-dev xorg-libX11-dev" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + # make needed pkg-config file 1.26 + ln -s /usr/lib/pkgconfig/libvala-0.16.pc /usr/lib/pkgconfig/vala-1.0.pc 1.27 + 1.28 + # localization 1.29 + cp -a $stuff/cairo-compmgr.pot $src/po 1.30 + cp -a $stuff/ru.po $src/po 1.31 + 1.32 + export LDFLAGS="$LDFLAGS $(pkg-config --libs ice gmodule-2.0 x11)" 1.33 + 1.34 + ./configure $CONFIGURE_ARGS && 1.35 + make && 1.36 + make install 1.37 + rm -f $install/usr/share/applications/* 1.38 +} 1.39 + 1.40 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 +genpkg_rules() 1.42 +{ 1.43 + mkdir -p \ 1.44 + $fs/usr/bin \ 1.45 + $fs/usr/share/applications \ 1.46 + $fs/usr/share/cairo-compmgr/ui \ 1.47 + $fs/usr/share/cairo-compmgr/schemas 1.48 + cp -a $install/usr/bin/cairo-compmgr $fs/usr/bin 1.49 + cp -a $install/usr/share/pixmaps $fs/usr/share 1.50 + cp -a $install/usr/share/man $fs/usr/share 1.51 + cp -a $stuff/cairo-compmgr.desktop $fs/usr/share/applications 1.52 + cp -a $install/usr/share/cairo-compmgr/ui/ccm-preferences.ui \ 1.53 + $fs/usr/share/cairo-compmgr/ui 1.54 + cp -a $install/usr/share/cairo-compmgr/schemas/ccm-display.schema-key \ 1.55 + $fs/usr/share/cairo-compmgr/schemas 1.56 +}