wok-6.x annotate ode/receipt @ rev 12357
sane-backends: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 19 23:25:46 2012 +0200 (2012-04-19) |
parents | |
children | 23c3aed67cd9 |
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 |