wok-next annotate gnumeric/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | 7639f09792cf |
children | c0521c689857 |
rev | line source |
---|---|
pankso@566 | 1 # SliTaz package receipt. |
pankso@566 | 2 |
pankso@566 | 3 PACKAGE="gnumeric" |
al@19466 | 4 VERSION="1.12.32" |
pankso@566 | 5 CATEGORY="office" |
pankso@566 | 6 SHORT_DESC="Office Spreadsheet application." |
pankso@566 | 7 MAINTAINER="pankso@slitaz.org" |
al@19466 | 8 LICENSE="GPL" |
al@19466 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19466 | 10 WEB_SITE="http://www.gnumeric.org/" |
al@19466 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@566 | 12 |
al@19468 | 13 DEPENDS="at-spi2 at-spi2-atk atk bzlib cairo dbus fontconfig freetype \ |
al@20454 | 14 gdk-pixbuf glib glibc-base gtk+3 harfbuzz libcroco libffi libgsf libpng16 \ |
al@20447 | 15 librsvg xorg-libxcb libxml2 libxslt pango pcre xorg-pixman util-linux-uuid xorg-libICE \ |
al@19468 | 16 xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor \ |
al@19468 | 17 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXi \ |
al@19482 | 18 xorg-libXinerama xorg-libXrandr xorg-libXrender zlib dconf" |
psychomaniak@20012 | 19 BUILD_DEPENDS="gtk-doc bison goffice-dev gtk+3-dev intltool gettext \ |
psychomaniak@20012 | 20 xorg-dev zlib-dev" |
slaxemulator@11161 | 21 |
pankso@566 | 22 # Rules to configure and make the package. |
pankso@566 | 23 compile_rules() |
pankso@566 | 24 { |
pankso@566 | 25 ./configure \ |
jozee@2799 | 26 --without-perl \ |
jozee@2799 | 27 --without-python \ |
jozee@2799 | 28 --without-gda \ |
pascal@1524 | 29 $CONFIGURE_ARGS && |
pankso@11784 | 30 make && make install |
pankso@566 | 31 } |
pankso@566 | 32 |
pankso@566 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@566 | 34 genpkg_rules() |
pankso@566 | 35 { |
pankso@566 | 36 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@4166 | 37 |
al@18531 | 38 cp -a $install/usr/bin $fs/usr |
al@18531 | 39 |
al@18531 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@18531 | 41 cp -a $install/usr/lib/gnumeric $fs/usr/lib |
al@19468 | 42 cp -a $install/usr/lib/goffice $fs/usr/lib |
al@18531 | 43 find $fs/usr/lib -name '*.la' -delete |
al@18531 | 44 |
al@18531 | 45 cp -a $install/usr/share/applications $fs/usr/share |
al@18531 | 46 cp -a $install/usr/share/glib-2.0 $fs/usr/share |
al@18531 | 47 cp -a $install/usr/share/gnumeric $fs/usr/share |
al@18531 | 48 cp -a $install/usr/share/icons $fs/usr/share |
al@18531 | 49 cp -a $install/usr/share/pixmaps $fs/usr/share |
al@18531 | 50 find $fs/usr/share/pixmaps -name '*.ico' -delete |
pankso@566 | 51 } |