wok-next diff expat/receipt @ rev 19586

linux: update install_module_headers(), update stuff/modules.list. Mask empty linux-* packages (let it build for now, don't remove). Waiting for the new config...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jan 04 10:35:18 2017 +0200 (2017-01-04)
parents c9e270dd464f
children 9278a60d6895
line diff
     1.1 --- a/expat/receipt	Thu Apr 23 16:47:39 2015 +0300
     1.2 +++ b/expat/receipt	Wed Jan 04 10:35:18 2017 +0200
     1.3 @@ -1,30 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="expat"
     1.7 -VERSION="2.1.0"
     1.8 +VERSION="2.2.0"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="XML parsing C library"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="MIT"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://expat.sourceforge.net/"
    1.15 +HOST_ARCH="i486 arm"
    1.16 +
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 -HOST_ARCH="i486 arm"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -	./configure $CONFIGURE_ARGS &&
    1.25 -	make && make DESTDIR=$DESTDIR install
    1.26 +	./configure \
    1.27 +		--disable-static \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make && make DESTDIR=$install install
    1.30 +
    1.31 +	docdir="$install/usr/share/doc/expat-$VERSION"
    1.32 +	mkdir -p $docdir; cp doc/* $docdir; rm $docdir/*.1
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/usr/lib $fs/usr/bin
    1.39 -	cp -a $install/usr/bin/* $fs/usr/bin
    1.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.41 -	# expat so.0 symbolic link.
    1.42 -	cd $fs/usr/lib
    1.43 -	ln -s libexpat.so.1.*.* libexpat.so.0
    1.44 +	cook_copy_files xmlwf *.so*
    1.45  }