wok annotate cairo-compmgr/receipt @ rev 12568
slim-pam: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 19:35:01 2012 +0200 (2012-04-28) |
parents | c1bca79e83dc |
children | 4c6b6a900860 |
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@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 } |