wok-6.x annotate librsvg/receipt @ rev 15333
boinc: create test_driver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 11:51:36 2013 +0000 (2013-09-28) |
parents | 723c93a27922 |
children | 88af587617c4 |
rev | line source |
---|---|
erjo@3554 | 1 # SliTaz package receipt. |
erjo@3554 | 2 |
erjo@3554 | 3 PACKAGE="librsvg" |
slaxemulator@11409 | 4 VERSION="2.34.2" |
slaxemulator@6677 | 5 CATEGORY="x-window" |
erjo@3554 | 6 SHORT_DESC="SVG Rendering Library" |
erjo@3554 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14716 | 8 LICENSE="GPL2" |
pascal@14716 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14716 | 10 WEB_SITE="http://librsvg.sourceforge.net/" |
pascal@14716 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" |
pascal@14716 | 12 |
pascal@5003 | 13 DEPENDS="cairo freetype libxml2 pango fontconfig libcroco libgsf xcb-util \ |
slaxemulator@6677 | 14 libgio atk gdk-pixbuf xorg-libXinerama xorg-libXcursor xorg-libXcomposite xorg-libXext \ |
pascal@5003 | 15 xorg-libXdamage" |
erjo@11476 | 16 BUILD_DEPENDS="$DEPENDS libffi-dev pkg-config cairo-dev freetype-dev libxml2-dev pango-dev \ |
pascal@12924 | 17 fontconfig-dev gdk-pixbuf-dev libcroco-dev glib-dev libpng-dev gtk+-dev perl expat-dev expat" |
erjo@3554 | 18 |
erjo@3554 | 19 # Rules to configure and make the package. |
erjo@3554 | 20 compile_rules() |
erjo@3554 | 21 { |
erjo@3554 | 22 cd $src |
erjo@3554 | 23 ./configure \ |
slaxemulator@6677 | 24 --disable-static \ |
erjo@3554 | 25 $CONFIGURE_ARGS && |
slaxemulator@10213 | 26 make && make install |
erjo@3554 | 27 } |
erjo@3554 | 28 |
erjo@3554 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3554 | 30 genpkg_rules() |
erjo@3554 | 31 { |
pankso@4161 | 32 mkdir -p $fs/usr/lib |
pascal@14716 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14716 | 34 cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib |
pascal@14716 | 35 cp -a $install/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib |
pankso@4161 | 36 |
erjo@3554 | 37 # remove *.*a files |
erjo@3554 | 38 find $fs/usr/lib/gtk-2.0 -name "*.*a" -exec rm -f {} \; |
slaxemulator@6678 | 39 find $fs/usr/lib/gdk-pixbuf-2.0 -name "*.*a" -exec rm -f {} \; |
erjo@3554 | 40 } |
erjo@3554 | 41 |
slaxemulator@7770 | 42 # Pre and post install commands for Tazpkg. |
slaxemulator@7770 | 43 post_install() |
slaxemulator@7770 | 44 { |
gokhlayeh@11958 | 45 echo -n "Updating gdk pixbuf loaders cache file..." |
gokhlayeh@11958 | 46 chroot $1/ /usr/bin/gdk-pixbuf-query-loaders --update-cache |
gokhlayeh@11958 | 47 status |
slaxemulator@7770 | 48 } |