wok annotate gnumeric/receipt @ rev 5905
gnumeric: do not build omffile
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 26 13:38:01 2010 +0200 (2010-07-26) |
parents | e28130ae7dac |
children | aaff6cc80e5c |
rev | line source |
---|---|
pankso@566 | 1 # SliTaz package receipt. |
pankso@566 | 2 |
pankso@566 | 3 PACKAGE="gnumeric" |
pascal@5815 | 4 VERSION="1.10.7" |
pankso@566 | 5 CATEGORY="office" |
pankso@566 | 6 SHORT_DESC="Office Spreadsheet application." |
pankso@566 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2516 | 8 DEPENDS="gtk+ libgsf goffice libart_lgpl libgio bzlib libart_lgpl xorg-libXdamage" |
pankso@4166 | 9 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev" |
pankso@566 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@566 | 11 WEB_SITE="http://www.gnome.org/projects/gnumeric/" |
pascal@5815 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnumeric/${VERSION%.*}/$TARBALL" |
pankso@566 | 13 |
pankso@566 | 14 # Rules to configure and make the package. |
pankso@566 | 15 compile_rules() |
pankso@566 | 16 { |
pankso@566 | 17 cd $src |
pascal@5905 | 18 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile* |
pankso@566 | 19 ./configure \ |
pankso@566 | 20 --prefix=/usr \ |
pankso@566 | 21 --mandir=/usr/share/man \ |
jozee@2799 | 22 --without-perl \ |
jozee@2799 | 23 --without-python \ |
jozee@2799 | 24 --without-gda \ |
jozee@2799 | 25 --without-paradox \ |
pascal@1524 | 26 $CONFIGURE_ARGS && |
pascal@5815 | 27 make -j 4 && |
pankso@566 | 28 make DESTDIR=$PWD/_pkg install |
pankso@566 | 29 } |
pankso@566 | 30 |
pankso@566 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@566 | 32 genpkg_rules() |
pankso@566 | 33 { |
pankso@566 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@566 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@566 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@566 | 37 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pankso@566 | 38 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include |
pankso@566 | 39 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la |
pankso@4166 | 40 |
pankso@566 | 41 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@566 | 42 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@566 | 43 } |
pankso@566 | 44 |