wok-current view cairo-compmgr/receipt @ rev 13237
Move from undigest: phpsysinfo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 14 13:39:12 2012 +0200 (2012-08-14) |
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 }