wok diff rpcbind/receipt @ rev 17157

syslinux: fix rockridge (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 15 23:31:45 2014 +0200 (2014-09-15)
parents 23c3aed67cd9
children 17e313b5b9c1
line diff
     1.1 --- a/rpcbind/receipt	Thu Dec 05 20:23:08 2013 +0000
     1.2 +++ b/rpcbind/receipt	Mon Sep 15 23:31:45 2014 +0200
     1.3 @@ -9,18 +9,22 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://rpcbind.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8 +
     1.9  DEPENDS="libtirpc"
    1.10  BUILD_DEPENDS="libtirpc-dev"
    1.11  
    1.12 +# Handle cross compilation.
    1.13 +case "$ARCH" in
    1.14 +	arm*) export CPPFLAGS="-I/cross/$ARCH/sysroot/usr/include/tirpc" ;;
    1.15 +esac
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 -	cd $src
    1.21 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 -	--mandir=/usr/share/man \
    1.23 -	$CONFIGURE_ARGS &&
    1.24 -	make &&
    1.25 -	make DESTDIR=$DESTDIR install
    1.26 +	./configure \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make && make install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.