wok annotate gnumeric/receipt @ rev 6929
Up: mpfr to 3.0.0p4. Added a EXTRAVERSION since i patching it with p4 patch.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 23:13:10 2010 +0000 (2010-10-22) |
parents | aaff6cc80e5c |
children | 6be9c406396e |
rev | line source |
---|---|
pankso@566 | 1 # SliTaz package receipt. |
pankso@566 | 2 |
pankso@566 | 3 PACKAGE="gnumeric" |
slaxemulator@6683 | 4 VERSION="1.10.11" |
pankso@566 | 5 CATEGORY="office" |
pankso@566 | 6 SHORT_DESC="Office Spreadsheet application." |
pankso@566 | 7 MAINTAINER="pankso@slitaz.org" |
slaxemulator@6683 | 8 DEPENDS="gtk+ libgsf goffice libart_lgpl guile libgio bzlib xorg-libXdamage" |
slaxemulator@6683 | 9 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev libglade-dev libxml2-dev intltool pkg-config zlib-dev bzip2-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 |