wok annotate goffice/receipt @ rev 10789
Up: slitaz-tools (4.3) - Use source Makefile to install files and so clean up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 22:36:01 2011 +0200 (2011-06-01) |
parents | 34d1a109c615 |
children | f5022ffa7d43 |
rev | line source |
---|---|
pankso@565 | 1 # SliTaz package receipt. |
pankso@565 | 2 |
pankso@565 | 3 PACKAGE="goffice" |
slaxemulator@9381 | 4 VERSION="0.8.14" |
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" |
pascal@2516 | 8 DEPENDS="gtk+ libgsf libglade libart_lgpl xorg-libXdamage" |
slaxemulator@6681 | 9 BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool expat-dev bzip2-dev" |
slaxemulator@7106 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@565 | 11 WEB_SITE="http://freshmeat.net/projects/goffice/" |
slaxemulator@7106 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$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 \ |
slaxemulator@5427 | 22 --without-gconf \ |
slaxemulator@6681 | 23 --disable-static \ |
pascal@1523 | 24 $CONFIGURE_ARGS && |
pascal@5815 | 25 make -j 4 && |
pankso@565 | 26 make DESTDIR=$PWD/_pkg install |
pankso@565 | 27 } |
pankso@565 | 28 |
pankso@565 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@565 | 30 genpkg_rules() |
pankso@565 | 31 { |
pankso@565 | 32 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@565 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@565 | 34 cp -a $_pkg/usr/lib/goffice $fs/usr/lib |
pankso@565 | 35 cp -a $_pkg/usr/share/goffice $fs/usr/share |
pankso@565 | 36 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@565 | 37 } |
pankso@565 | 38 |