wok-current annotate gnumeric/receipt @ rev 5130
Add slitaz suggested-applications
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Mar 22 12:06:26 2010 +0000 (2010-03-22) |
parents | bebfa19abc36 |
children | e28130ae7dac |
rev | line source |
---|---|
pankso@566 | 1 # SliTaz package receipt. |
pankso@566 | 2 |
pankso@566 | 3 PACKAGE="gnumeric" |
pankso@4166 | 4 VERSION="1.8.4" |
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/" |
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@4166 | 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 |