wok-6.x diff ode/receipt @ rev 22430

Add sshrc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 20 19:07:35 2019 +0100 (2019-12-20)
parents 23c3aed67cd9
children 5e00d55089d7
line diff
     1.1 --- a/ode/receipt	Thu Dec 05 20:23:08 2013 +0000
     1.2 +++ b/ode/receipt	Fri Dec 20 19:07:35 2019 +0100
     1.3 @@ -1,27 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ode"
     1.7 -VERSION="0.11.1"
     1.8 +VERSION="0.16"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="An open source, high performance library for simulating rigid body dynamics."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="LGPL2.1 BSD"
    1.13 +WEB_SITE="https://www.ode.org/"
    1.14 +
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 +WGET_URL="https://bitbucket.org/odedevs/$PACKAGE/downloads/$TARBALL"
    1.17 +
    1.18  DEPENDS=""
    1.19 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.20 -WEB_SITE="http://www.ode.org/"
    1.21 -WGET_URL="$SF_MIRROR/opende/$TARBALL"
    1.22 +BUILD_DEPENDS="gcc83 libtool"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--infodir=/usr/share/info \
    1.31 -		--mandir=/usr/share/man \
    1.32 -		--enable-shared \
    1.33 +	export	CC=gcc-83
    1.34 +	export	CXX=g++-83
    1.35 +
    1.36 +	./configure				\
    1.37 +		--prefix=/usr			\
    1.38 +		--infodir=/usr/share/info	\
    1.39 +		--mandir=/usr/share/man		\
    1.40 +		--enable-shared			\
    1.41  		$CONFIGURE_ARGS &&
    1.42 -	make && make DESTDIR=$DESTDIR install
    1.43 +	make &&
    1.44 +	make DESTDIR=$DESTDIR install
    1.45  }
    1.46  
    1.47  # Rules to gen a SliTaz package suitable for Tazpkg.