wok-current annotate gnumeric/receipt @ rev 6223
Up: hardinfo to 0.5.1. It only uses languages and os patches now i think.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 11 22:56:32 2010 +0000 (2010-09-11) |
parents | 81c1abcd3129 |
children | 08eba1279fb1 |
rev | line source |
---|---|
pankso@566 | 1 # SliTaz package receipt. |
pankso@566 | 2 |
pankso@566 | 3 PACKAGE="gnumeric" |
slaxemulator@6189 | 4 VERSION="1.10.9" |
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" |
slaxemulator@6189 | 9 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev libglade-dev libxml2-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 |