wok-next diff rpcbind/receipt @ rev 16802
virtualbox-ose: fix modules install path
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Jul 05 12:28:30 2014 +0000 (2014-07-05) |
parents | 23c3aed67cd9 |
children | 17e313b5b9c1 |
line diff
1.1 --- a/rpcbind/receipt Thu Dec 05 20:23:08 2013 +0000 1.2 +++ b/rpcbind/receipt Sat Jul 05 12:28:30 2014 +0000 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.