wok-next diff expat/receipt @ rev 15579

Remove cromfs-or-squashfs; add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 30 10:06:29 2013 +0000 (2013-11-30)
parents e5ae411e1d8c
children fcdd50638150
line diff
     1.1 --- a/expat/receipt	Mon Apr 04 01:54:51 2011 +0000
     1.2 +++ b/expat/receipt	Sat Nov 30 10:06:29 2013 +0000
     1.3 @@ -8,23 +8,22 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://expat.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12 -    cd $src
    1.13 -    ./configure --sysconfdir=/etc --prefix=/usr \
    1.14 -    --mandir=/usr/share/man $CONFIGURE_ARGS
    1.15 -    make
    1.16 -    make DESTDIR=$PWD/_pkg install
    1.17 +	cd $src
    1.18 +	./configure $CONFIGURE_ARGS &&
    1.19 +	make && make DESTDIR=$DESTDIR install
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25  	mkdir -p $fs/usr/lib $fs/usr/bin
    1.26 -    cp -a $_pkg/usr/bin/* $fs/usr/bin
    1.27 -    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.28 +    cp -a $install/usr/bin/* $fs/usr/bin
    1.29 +    cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.30      # expat so.0 symbolic link.
    1.31      cd $fs/usr/lib
    1.32      ln -s libexpat.so.1.5.2 libexpat.so.0