wok-6.x annotate gnumeric/receipt @ rev 2418
xorg-lib*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 11 09:35:41 2009 +0000 (2009-03-11) |
parents | d86a706d7fcd |
children | dbf873bf74a8 |
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@1579 | 8 DEPENDS="gtk+ libgsf goffice libart_lgpl libgio" |
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 \ |
pascal@1524 | 21 $CONFIGURE_ARGS && |
pascal@1524 | 22 make && |
pankso@566 | 23 make DESTDIR=$PWD/_pkg install |
pankso@566 | 24 } |
pankso@566 | 25 |
pankso@566 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@566 | 27 genpkg_rules() |
pankso@566 | 28 { |
pankso@566 | 29 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@566 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@566 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@566 | 32 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
pankso@566 | 33 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include |
pankso@566 | 34 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la |
pankso@566 | 35 |
pankso@566 | 36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@566 | 37 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@566 | 38 } |
pankso@566 | 39 |