wok-stable diff cairo-compmgr/receipt @ rev 11243

Gcompris: optimize PNGs after compilation
author Alexander Medvedev <devl547@gmail.com>
date Mon Nov 07 08:28:03 2011 +0300 (2011-11-07)
parents
children c1bca79e83dc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/cairo-compmgr/receipt	Mon Nov 07 08:28:03 2011 +0300
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="cairo-compmgr"
     1.7 +VERSION="0.3.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Cairo Composite Manager"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://cairo-compmgr.tuxfamily.org/"
    1.13 +WGET_URL="http://download.tuxfamily.org/ccm/cairo-compmgr/$TARBALL"
    1.14 +
    1.15 +DEPENDS="gtk+ cairo librsvg util-linux-ng-uuid"
    1.16 +BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev vala util-linux-ng-uuid-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	sed -i "s/vala-1.0/$(basename /usr/lib/pkgconfig/libvala-*.pc .pc)/" configure
    1.22 +	./configure $CONFIGURE_ARGS && make && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.29 +	cp -a $_pkg/usr/bin $fs/usr
    1.30 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.31 +	cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
    1.32 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.33 +	cp -a $_pkg/usr/share/pixmaps $fs/usr/share
    1.34 +	rm $fs/usr/lib/$PACKAGE/*.*a
    1.35 +}