wok-current diff expat/receipt @ rev 12823

glibc-base: improve ARM package
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 10:22:47 2012 +0200 (2012-05-22)
parents e5ae411e1d8c
children fcdd50638150
line diff
     1.1 --- a/expat/receipt	Mon Apr 04 01:54:51 2011 +0000
     1.2 +++ b/expat/receipt	Tue May 22 10:22:47 2012 +0200
     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