wok annotate gnumeric/receipt @ rev 17438
Add perl-image-magick
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 08 14:44:54 2014 +0100 (2014-12-08) |
parents | 98a90c761dcd |
children | f2c53fb112f3 |
rev | line source |
---|---|
pankso@566 | 1 # SliTaz package receipt. |
pankso@566 | 2 |
pankso@566 | 3 PACKAGE="gnumeric" |
pankso@11803 | 4 VERSION="1.10.17" |
pankso@566 | 5 CATEGORY="office" |
pankso@566 | 6 SHORT_DESC="Office Spreadsheet application." |
pankso@566 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
slaxemulator@7108 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@566 | 10 WEB_SITE="http://www.gnome.org/projects/gnumeric/" |
slaxemulator@7108 | 11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@566 | 12 |
pankso@11784 | 13 DEPENDS="gtk+ libgsf goffice libart_lgpl guile libgio bzlib xorg-libXdamage" |
pankso@11784 | 14 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev |
pankso@11784 | 15 libglade-dev libxml2-dev intltool pkg-config zlib-dev bzip2-dev" |
slaxemulator@11161 | 16 |
pankso@566 | 17 # Rules to configure and make the package. |
pankso@566 | 18 compile_rules() |
pankso@566 | 19 { |
pankso@566 | 20 cd $src |
pascal@5905 | 21 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile* |
pankso@566 | 22 ./configure \ |
jozee@2799 | 23 --without-perl \ |
jozee@2799 | 24 --without-python \ |
jozee@2799 | 25 --without-gda \ |
jozee@2799 | 26 --without-paradox \ |
pankso@11784 | 27 --without-gnome \ |
pascal@1524 | 28 $CONFIGURE_ARGS && |
pankso@11784 | 29 make && make install |
pankso@566 | 30 } |
pankso@566 | 31 |
pankso@566 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@566 | 33 genpkg_rules() |
pankso@566 | 34 { |
pankso@566 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@11784 | 36 cp -a $install/usr/bin $fs/usr |
pankso@11784 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@11784 | 38 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib |
pankso@566 | 39 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include |
pankso@566 | 40 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la |
pankso@4166 | 41 |
pankso@11784 | 42 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@11784 | 43 cp -a $install/usr/share/pixmaps $fs/usr/share |
pankso@566 | 44 } |
pankso@566 | 45 |