wok-next diff ode/receipt @ rev 20464
Combine receipts (final)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 07 19:43:44 2018 +0200 (2018-03-07) |
parents | 23c3aed67cd9 |
children | d43bf7aae921 |
line diff
1.1 --- a/ode/receipt Thu Dec 05 20:23:08 2013 +0000 1.2 +++ b/ode/receipt Wed Mar 07 19:43:44 2018 +0200 1.3 @@ -1,20 +1,20 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ode" 1.8 VERSION="0.11.1" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="An open source, high performance library for simulating rigid body dynamics." 1.11 +SHORT_DESC="An open source, high performance library for simulating rigid body \ 1.12 +dynamics" 1.13 MAINTAINER="slaxemulator@gmail.com" 1.14 LICENSE="LGPL2.1 BSD" 1.15 -DEPENDS="" 1.16 +WEB_SITE="http://www.ode.org/" 1.17 + 1.18 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.19 -WEB_SITE="http://www.ode.org/" 1.20 WGET_URL="$SF_MIRROR/opende/$TARBALL" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - cd $src 1.26 +SPLIT="ode-dev" 1.27 + 1.28 +compile_rules() { 1.29 ./configure \ 1.30 --prefix=/usr \ 1.31 --infodir=/usr/share/info \ 1.32 @@ -24,9 +24,9 @@ 1.33 make && make DESTDIR=$DESTDIR install 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr/lib 1.40 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.41 +genpkg_rules() { 1.42 + case $PACKAGE in 1.43 + ode) copy @std;; 1.44 + *-dev) copy @dev;; 1.45 + esac 1.46 }