wok view cairo-compmgr/receipt @ rev 12076

compiz-core-dev: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 09 09:43:47 2012 +0100 (2012-03-09)
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 }