wok-next annotate goffice/receipt @ rev 12474

libcanberra: try a fix
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 13:29:57 2012 +0200 (2012-04-23)
parents f5022ffa7d43
children eaa75d6adeb2
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"
samuel_trassare@11785 8 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@11160 9 WEB_SITE="http://freshmeat.net/projects/goffice/"
slaxemulator@11160 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@11160 11
pascal@2516 12 DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage"
samuel_trassare@11785 13 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
samuel_trassare@11785 14 expat-dev bzip2-dev librsvg-dev"
pankso@565 15
pankso@565 16 # Rules to configure and make the package.
pankso@565 17 compile_rules()
pankso@565 18 {
pankso@565 19 cd $src
pankso@565 20 ./configure \
pankso@565 21 --with-html-dir=/usr/share/doc \
slaxemulator@6681 22 --disable-static \
pascal@1523 23 $CONFIGURE_ARGS &&
slaxemulator@11160 24 make && make install
pankso@565 25 }
pankso@565 26
pankso@565 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@565 28 genpkg_rules()
pankso@565 29 {
pankso@565 30 mkdir -p $fs/usr/lib $fs/usr/share
pankso@565 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@565 32 cp -a $_pkg/usr/lib/goffice $fs/usr/lib
pankso@565 33 cp -a $_pkg/usr/share/goffice $fs/usr/share
pankso@565 34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
pankso@565 35 }
pankso@565 36