wok-6.x annotate librsvg-dev/receipt @ rev 18378

Up: nginx (1.9.4)
author Nathan Neulinger <nneul@neulinger.org>
date Thu Sep 17 16:02:23 2015 +0000 (2015-09-17)
parents 8ed62ecac0c7
children 8407f9c3f9be
rev   line source
erjo@3554 1 # SliTaz package receipt.
erjo@3554 2
erjo@3554 3 PACKAGE="librsvg-dev"
slaxemulator@11409 4 VERSION="2.34.2"
slaxemulator@6677 5 CATEGORY="development"
erjo@3554 6 SHORT_DESC="SVG Rendering Library dev files"
erjo@3554 7 MAINTAINER="erjo@slitaz.org"
pascal@14716 8 LICENSE="GPL2"
erjo@3554 9 WEB_SITE="http://librsvg.sourceforge.net/"
erjo@3554 10 WANTED="librsvg"
pankso@16222 11 HOST_ARCH="i486 arm"
erjo@3554 12
pascal@15597 13 DEPENDS="librsvg cairo-dev gdk-pixbuf-dev libgio-dev glib-dev libcroco-dev \
pascal@15597 14 pkg-config"
pascal@14716 15
erjo@3554 16 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@3554 17 genpkg_rules()
erjo@3554 18 {
pankso@4173 19 mkdir -p $fs/usr/lib
pascal@14716 20 cp -a $install/usr/include $fs/usr
pascal@14716 21 cp -a $install/usr/lib/*.*a $fs/usr/lib
pascal@14716 22 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
pankso@16222 23 [ -d "$install/usr/lib/gtk-2.0" ] && \
pankso@16222 24 cp -a $install/usr/lib/gtk-2.0 $fs/usr/lib
pascal@14716 25 cp -a $install/usr/lib/gdk-pixbuf-2.0 $fs/usr/lib
pankso@4161 26
erjo@3554 27 # remove *.*a files
pankso@16222 28 [ -d "$install/usr/lib/gtk-2.0" ] && \
pankso@16222 29 find $fs/usr/lib/gtk-2.0 -name "*.so*" -exec rm -f {} \;
slaxemulator@6677 30 find $fs/usr/lib/gdk-pixbuf-2.0 -name "*.so*" -exec rm -f {} \;
erjo@3554 31 }
erjo@3554 32