wok-6.x annotate gnumeric/receipt @ rev 1067
Up: pcmanfm (0.4.6.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jul 15 22:29:47 2008 +0200 (2008-07-15) |
parents | |
children | 7caa2ad3798e |
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" |
pankso@566 | 8 DEPENDS="gtk+ libgsf goffice" |
pankso@566 | 9 BUILD_DEPENDS="gtk+-dev libgsf-dev 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 \ |
pankso@566 | 21 $CONFIGURE_ARGS |
pankso@566 | 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 |