wok-6.x view cairo-compmgr/receipt @ rev 12510

Up: xorg-libXmu, xorg-libXpm + clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 24 23:26:41 2012 +0200 (2012-04-24)
parents c1bca79e83dc
children 4c6b6a900860
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-uuid xorg-libXi xorg-libSM"
13 BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev vala util-linux-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 }