wok-4.x annotate ode/receipt @ rev 11234

jnettop: update depends
author Paul Issott <paul@slitaz.org>
date Sun Nov 06 09:54:00 2011 +0000 (2011-11-06)
parents
children
rev   line source
slaxemulator@7719 1 # SliTaz package receipt.
slaxemulator@7719 2
slaxemulator@7719 3 PACKAGE="ode"
slaxemulator@7719 4 VERSION="0.11.1"
slaxemulator@7719 5 CATEGORY="misc"
slaxemulator@7719 6 SHORT_DESC="An open source, high performance library for simulating rigid body dynamics."
slaxemulator@7719 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7719 8 DEPENDS=""
slaxemulator@7719 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@7719 10 WEB_SITE="http://www.ode.org/"
slaxemulator@7719 11 WGET_URL="$SF_MIRROR/opende/$TARBALL"
slaxemulator@7719 12
slaxemulator@7719 13 # Rules to configure and make the package.
slaxemulator@7719 14 compile_rules()
slaxemulator@7719 15 {
slaxemulator@7719 16 cd $src
slaxemulator@7719 17 ./configure \
slaxemulator@7719 18 --prefix=/usr \
slaxemulator@7719 19 --infodir=/usr/share/info \
slaxemulator@7719 20 --mandir=/usr/share/man \
slaxemulator@7719 21 --enable-shared \
slaxemulator@7719 22 $CONFIGURE_ARGS &&
slaxemulator@7719 23 make && make DESTDIR=$PWD/_pkg install
slaxemulator@7719 24 }
slaxemulator@7719 25
slaxemulator@7719 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7719 27 genpkg_rules()
slaxemulator@7719 28 {
slaxemulator@7719 29 mkdir -p $fs/usr/lib
slaxemulator@7719 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7719 31 }
slaxemulator@7719 32