wok view gnumeric/receipt @ rev 16490

mpg123: needs libmpg123.la and add arch optimisation
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 23 14:28:29 2014 +0200 (2014-04-23)
parents 98a90c761dcd
children f2c53fb112f3
line source
1 # SliTaz package receipt.
3 PACKAGE="gnumeric"
4 VERSION="1.10.17"
5 CATEGORY="office"
6 SHORT_DESC="Office Spreadsheet application."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org/projects/gnumeric/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libgsf goffice libart_lgpl guile libgio bzlib xorg-libXdamage"
14 BUILD_DEPENDS="gtk+-dev libgsf-dev libart_lgpl-dev goffice-dev xorg-libXdamage-dev
15 libglade-dev libxml2-dev intltool pkg-config zlib-dev bzip2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i s'/omffile =.*/omffile =/' doc/C/Makefile*
22 ./configure \
23 --without-perl \
24 --without-python \
25 --without-gda \
26 --without-paradox \
27 --without-gnome \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
39 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/include
40 rm -rf $fs/usr/lib/$PACKAGE/$VERSION/plugins/*/*.la
42 cp -a $install/usr/share/$PACKAGE $fs/usr/share
43 cp -a $install/usr/share/pixmaps $fs/usr/share
44 }