wok annotate goffice/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 246964d7c465
children f83bd64e1765
rev   line source
pankso@565 1 # SliTaz package receipt.
pankso@565 2
pankso@565 3 PACKAGE="goffice"
slaxemulator@11160 4 VERSION="0.8.17"
pankso@565 5 CATEGORY="x-window"
pankso@565 6 SHORT_DESC="GOffice is a library of document-centric objects and utilities."
pankso@565 7 MAINTAINER="pankso@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
samuel_trassare@11785 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@11160 10 WEB_SITE="http://freshmeat.net/projects/goffice/"
slaxemulator@11160 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@11160 12
pascal@2516 13 DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
samuel_trassare@11785 14 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
samuel_trassare@11785 15 expat-dev bzip2-dev librsvg-dev"
pankso@565 16
pankso@565 17 # Rules to configure and make the package.
pankso@565 18 compile_rules()
pankso@565 19 {
pankso@565 20 cd $src
domcox@14132 21 # remove a reference to pcre_info, a deprecated function
domcox@14132 22 # that was removed from PCRE-8.30
domcox@14132 23 sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c &&
pankso@565 24 ./configure \
pankso@565 25 --with-html-dir=/usr/share/doc \
slaxemulator@6681 26 --disable-static \
pascal@15265 27 $CONFIGURE_ARGS &&
slaxemulator@11160 28 make && make install
pankso@565 29 }
pankso@565 30
pankso@565 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@565 32 genpkg_rules()
pankso@565 33 {
pankso@565 34 mkdir -p $fs/usr/lib $fs/usr/share
pascal@15002 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15002 36 cp -a $install/usr/lib/goffice $fs/usr/lib
pascal@15002 37 cp -a $install/usr/share/goffice $fs/usr/share
pascal@15002 38 cp -a $install/usr/share/pixmaps $fs/usr/share
pankso@565 39 }
pankso@565 40