wok-current annotate cairo-compmgr-core/receipt @ rev 15614

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