wok-6.x annotate 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
rev   line source
pascal@11218 1 # SliTaz package receipt.
pascal@11218 2
pascal@11218 3 PACKAGE="cairo-compmgr"
pascal@11218 4 VERSION="0.3.0"
pascal@11218 5 CATEGORY="x-window"
pascal@11218 6 SHORT_DESC="Cairo Composite Manager"
pascal@11218 7 MAINTAINER="pankso@slitaz.org"
pascal@11218 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11218 9 WEB_SITE="http://cairo-compmgr.tuxfamily.org/"
pascal@11218 10 WGET_URL="http://download.tuxfamily.org/ccm/cairo-compmgr/$TARBALL"
pascal@11218 11
pankso@12481 12 DEPENDS="gtk+ cairo librsvg util-linux-uuid xorg-libXi xorg-libSM"
pankso@12481 13 BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev vala util-linux-uuid-dev \
gokhlayeh@11477 14 intltool"
pascal@11218 15
pascal@11218 16 # Rules to configure and make the package.
pascal@11218 17 compile_rules()
pascal@11218 18 {
pascal@12651 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12651 20 export LDFLAGS="-Wl,--copy-dt-needed-entries"
pascal@12651 21
pascal@11218 22 sed -i "s/vala-1.0/$(basename /usr/lib/pkgconfig/libvala-*.pc .pc)/" configure
pascal@11218 23 ./configure $CONFIGURE_ARGS && make && make install
pascal@11218 24 }
pascal@11218 25
pascal@11218 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11218 27 genpkg_rules()
pascal@11218 28 {
pascal@11218 29 mkdir -p $fs/usr/lib $fs/usr/share
pascal@11218 30 cp -a $_pkg/usr/bin $fs/usr
pascal@11218 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@11218 32 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
pascal@11218 33 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
pascal@11218 34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pascal@11218 35 rm $fs/usr/lib/$PACKAGE/*.*a
pascal@11218 36 }