wok-next annotate goffice/receipt @ rev 14916
Up: firefox-langpack-es_ES (17.0.7esr)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Aug 06 01:17:35 2013 +0000 (2013-08-06) |
parents | a9e0ca0f3818 |
children | 7896f0694ef6 |
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 |
domcox@14132 | 20 # remove a reference to pcre_info, a deprecated function |
domcox@14132 | 21 # that was removed from PCRE-8.30 |
domcox@14132 | 22 sed -i 's#info (r, NULL#full&, 0#' goffice/utils/regutf8.c && |
pankso@565 | 23 ./configure \ |
pankso@565 | 24 --with-html-dir=/usr/share/doc \ |
slaxemulator@6681 | 25 --disable-static \ |
pascal@1523 | 26 $CONFIGURE_ARGS && |
slaxemulator@11160 | 27 make && make install |
pankso@565 | 28 } |
pankso@565 | 29 |
pankso@565 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@565 | 31 genpkg_rules() |
pankso@565 | 32 { |
pankso@565 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@565 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@565 | 35 cp -a $_pkg/usr/lib/goffice $fs/usr/lib |
pankso@565 | 36 cp -a $_pkg/usr/share/goffice $fs/usr/share |
pankso@565 | 37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@565 | 38 } |
pankso@565 | 39 |