wok annotate cairo-compmgr/receipt @ rev 12238
ocsinventory: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 09 15:12:22 2012 +0200 (2012-04-09) |
parents | 55d75f0e3533 |
children | 73641efed1cc |
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 |
gokhlayeh@11477 | 12 DEPENDS="gtk+ cairo librsvg util-linux-ng-uuid xorg-libXi xorg-libSM" |
gokhlayeh@11477 | 13 BUILD_DEPENDS="gtk+-dev cairo-dev librsvg-dev vala util-linux-ng-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@11218 | 19 sed -i "s/vala-1.0/$(basename /usr/lib/pkgconfig/libvala-*.pc .pc)/" configure |
pascal@11218 | 20 ./configure $CONFIGURE_ARGS && make && make install |
pascal@11218 | 21 } |
pascal@11218 | 22 |
pascal@11218 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 24 genpkg_rules() |
pascal@11218 | 25 { |
pascal@11218 | 26 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11218 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@11218 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11218 | 29 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pascal@11218 | 30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pascal@11218 | 31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@11218 | 32 rm $fs/usr/lib/$PACKAGE/*.*a |
pascal@11218 | 33 } |