wok diff libgsf/receipt @ rev 20290

linux-module-headers: update deps for x86_64 target
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 16 09:37:49 2018 +0200 (2018-04-16)
parents a219ba1b4838
children af9262aa9794
line diff
     1.1 --- a/libgsf/receipt	Sat Feb 14 09:28:45 2015 +0100
     1.2 +++ b/libgsf/receipt	Mon Apr 16 09:37:49 2018 +0200
     1.3 @@ -1,43 +1,27 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libgsf"
     1.7 -VERSION="1.14.21"
     1.8 -CATEGORY="x-window"
     1.9 -SHORT_DESC="GNOME Structured File Library."
    1.10 +VERSION="1.14.40"
    1.11 +CATEGORY="libs"
    1.12 +SHORT_DESC="GNOME Structured File Library"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://freshmeat.net/projects/libgsf/"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 +WEB_SITE="https://developer.gnome.org/gsf/"
    1.19  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.20 -HOST_ARCH="i486 arm"
    1.21  
    1.22 -DEPENDS="libgio bzlib libxml2 "
    1.23 -BUILD_DEPENDS="libgio-dev glib-dev libxml2-dev zlib-dev"
    1.24 -
    1.25 -# Handle cross compilation
    1.26 -case "$ARCH" in
    1.27 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
    1.28 -esac
    1.29 +DEPENDS="bzlib gdk-pixbuf glib glibc-base libffi libgio libpng libxml2 pcre zlib"
    1.30 +BUILD_DEPENDS="gtk-doc libgio-dev glib-dev libxml2-dev zlib-dev gdk-pixbuf-dev"
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	sed -i 's/g_memmove/memmove/' gsf/gsf-output-iconv.c
    1.36 -	./configure \
    1.37 -		--with-html-dir=/usr/share/doc \
    1.38 -		--without-bonobo \
    1.39 -		--without-gnome-vfs \
    1.40 -		--without-python \
    1.41 -		$CONFIGURE_ARGS &&
    1.42 -	make &&
    1.43 -	make install
    1.44 +	./configure $CONFIGURE_ARGS && make && make install
    1.45  }
    1.46  
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.48  genpkg_rules()
    1.49  {
    1.50 -	mkdir -p $fs/usr/lib
    1.51 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.52 -	cp -a $install/usr/bin $fs/usr
    1.53 +	cook_copy_files gsf *.so* gsf-vba* gsf-office*
    1.54 +	rm -r $fs/usr/share/man
    1.55  }
    1.56 -