wok annotate goffice/receipt @ rev 2297
Up: udev (138)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 22 22:45:38 2009 +0100 (2009-02-22) |
parents | 2a5b3919dd73 |
children | dbf873bf74a8 |
rev | line source |
---|---|
pankso@565 | 1 # SliTaz package receipt. |
pankso@565 | 2 |
pankso@565 | 3 PACKAGE="goffice" |
pascal@1523 | 4 VERSION="0.6.5" |
pankso@565 | 5 CATEGORY="x-window" |
pankso@565 | 6 SHORT_DESC="GOffice is a library of document-centric objects and utilities." |
pankso@565 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@565 | 8 DEPENDS="gtk+ libgsf libglade" |
pankso@565 | 9 BUILD_DEPENDS="gtk+-dev libgsf-dev libglade-dev" |
pankso@565 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@565 | 11 WEB_SITE="http://freshmeat.net/projects/goffice/" |
pascal@1523 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/goffice/0.6/$TARBALL" |
pankso@565 | 13 |
pankso@565 | 14 # Rules to configure and make the package. |
pankso@565 | 15 compile_rules() |
pankso@565 | 16 { |
pankso@565 | 17 cd $src |
pankso@565 | 18 ./configure \ |
pankso@565 | 19 --prefix=/usr \ |
pankso@565 | 20 --mandir=/usr/share/man \ |
pankso@565 | 21 --with-html-dir=/usr/share/doc \ |
pascal@1523 | 22 $CONFIGURE_ARGS && |
pascal@1523 | 23 make && |
pankso@565 | 24 make DESTDIR=$PWD/_pkg install |
pankso@565 | 25 } |
pankso@565 | 26 |
pankso@565 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@565 | 28 genpkg_rules() |
pankso@565 | 29 { |
pankso@565 | 30 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@565 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@565 | 32 cp -a $_pkg/usr/lib/goffice $fs/usr/lib |
pankso@565 | 33 cp -a $_pkg/usr/share/goffice $fs/usr/share |
pankso@565 | 34 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@565 | 35 } |
pankso@565 | 36 |