wok view cairo-compmgr/receipt @ rev 11302

Up: x264 (with latest snapshot)
author Alexander Medvedev <devl547@gmail.com>
date Sat Nov 12 22:23:09 2011 +0000 (2011-11-12)
parents
children c1bca79e83dc
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"
13 BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev vala util-linux-ng-uuid-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i "s/vala-1.0/$(basename /usr/lib/pkgconfig/libvala-*.pc .pc)/" configure
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/usr/share
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 rm $fs/usr/lib/$PACKAGE/*.*a
32 }