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

.. and Wine-RT dev package OFC
author Pawel P. <xj@wp.pl>
date Sun Jan 13 18:18:53 2013 +0000 (2013-01-13)
parents 73641efed1cc
children 65b9df799792
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 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
20 export LDFLAGS="-Wl,--copy-dt-needed-entries"
22 sed -i "s/vala-1.0/$(basename /usr/lib/pkgconfig/libvala-*.pc .pc)/" configure
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
33 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
35 rm $fs/usr/lib/$PACKAGE/*.*a
36 }