wok annotate gnumeric/receipt @ rev 3902
Add podofo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 15 12:43:06 2009 +0200 (2009-08-15) |
parents | 8b79c3ee7ac2 |
children | 5755f3c9fd0f |
rev | line source |
---|---|
pankso@566 | 1 # SliTaz package receipt. |
pankso@566 | 2 |
pankso@566 | 3 PACKAGE="gnumeric" |
pankso@566 | 4 VERSION="1.8.2" |
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" |
pascal@1524 | 9 BUILD_DEPENDS="gtk+-dev libgsf-dev goffice goffice-dev" |
pankso@566 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@566 | 11 WEB_SITE="http://www.gnome.org/projects/gnumeric/" |
pankso@566 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.8/$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 |
pankso@566 | 18 ./configure \ |
pankso@566 | 19 --prefix=/usr \ |
pankso@566 | 20 --mandir=/usr/share/man \ |
jozee@2799 | 21 --without-perl \ |
jozee@2799 | 22 --without-python \ |
jozee@2799 | 23 --without-gda \ |
jozee@2799 | 24 --without-paradox \ |
pascal@1524 | 25 $CONFIGURE_ARGS && |
pascal@1524 | 26 make && |
pankso@566 | 27 make DESTDIR=$PWD/_pkg install |
pankso@566 | 28 } |
pankso@566 | 29 |
pankso@566 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@566 | 31 genpkg_rules() |
pankso@566 | 32 { |
pankso@566 | 33 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@566 | 34 cp -a $_pkg/usr/bin $fs/usr |
pankso@566 | 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@566 | 36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pankso@566 | 37 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include |
pankso@566 | 38 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la |
pankso@566 | 39 |
pankso@566 | 40 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@566 | 41 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@566 | 42 } |
pankso@566 | 43 |