wok view cairo-compmgr/receipt @ rev 12280

qtwitter: improve receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 13:59:44 2012 +0200 (2012-04-15)
parents 55d75f0e3533
children 73641efed1cc
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-compmgr"
4 VERSION="0.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Cairo Composite Manager"
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://cairo-compmgr.tuxfamily.org/"
10 WGET_URL="http://download.tuxfamily.org/ccm/cairo-compmgr/$TARBALL"
12 DEPENDS="gtk+ cairo librsvg util-linux-ng-uuid xorg-libXi xorg-libSM"
13 BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev vala util-linux-ng-uuid-dev \
14 intltool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i "s/vala-1.0/$(basename /usr/lib/pkgconfig/libvala-*.pc .pc)/" configure
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
32 rm $fs/usr/lib/$PACKAGE/*.*a
33 }