summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 00:25:42 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 00:26:20 +0000
commit56ebf9f5ea4febf3cebd848efa2b57b2b78a61b7 (patch)
tree27fde0fc1de692e87bdf0dad12ec9c52924958d4 /user
parent320f8ed1aa60d6028f3deefbd9fb5d017eca9bc9 (diff)
downloadpackages-56ebf9f5ea4febf3cebd848efa2b57b2b78a61b7.tar.gz
packages-56ebf9f5ea4febf3cebd848efa2b57b2b78a61b7.tar.bz2
packages-56ebf9f5ea4febf3cebd848efa2b57b2b78a61b7.tar.xz
packages-56ebf9f5ea4febf3cebd848efa2b57b2b78a61b7.zip
user/ode: new package, DO NOT BUMP THIS
Diffstat (limited to 'user')
-rw-r--r--user/ode/APKBUILD48
-rw-r--r--user/ode/fix-test-link.patch9
2 files changed, 57 insertions, 0 deletions
diff --git a/user/ode/APKBUILD b/user/ode/APKBUILD
new file mode 100644
index 000000000..f21ef2b42
--- /dev/null
+++ b/user/ode/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=ode
+pkgver=0.14
+pkgrel=0
+pkgdesc="High performance library for simulating rigid body dynamics"
+url="https://www.ode-wiki.org/wiki/index.php?title=Main_Page"
+arch="all"
+options="!check" # Fails 48/52 tests
+license="LGPL-2.1+ OR BSD-3-Clause"
+depends=""
+makedepends="autoconf automake libtool"
+subpackages="$pkgname-dev"
+source="https://bitbucket.org/odedevs/ode/downloads/ode-$pkgver.tar.gz
+ fix-test-link.patch
+ "
+
+build() {
+ cd "$builddir"
+
+ ./bootstrap
+ CXXFLAGS="$CXXFLAGS -fpermissive" ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-shared \
+ --disable-static \
+ --disable-double-precision \
+ --enable-libccd \
+ --enable-ou
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="1f74c3c4687ee9665fa70e65a79100747fba577729830a90806e374115f1c161a2f4545cf591b0979054aa3e2f9a3673635668cb7362ab5c213ada0d39b1a03d ode-0.14.tar.gz
+8630d5d059fd0f623db6af4000666868358002a42ba84817117b1fb5e01c776bb23cbf1c8c43181d7bf40a0d71b640f9d2f9785461d8a77877dcbdadd775792e fix-test-link.patch"
diff --git a/user/ode/fix-test-link.patch b/user/ode/fix-test-link.patch
new file mode 100644
index 000000000..a9d66dbbe
--- /dev/null
+++ b/user/ode/fix-test-link.patch
@@ -0,0 +1,9 @@
+--- ode-0.15.2/tests/Makefile.am.old 2017-06-05 08:12:18.000000000 +0000
++++ ode-0.15.2/tests/Makefile.am 2018-09-30 22:44:06.310000000 +0000
+@@ -26,5 +26,5 @@
+
+ tests_LDADD = \
+ $(top_builddir)/ode/src/libode.la \
+- joints/*.o \
++ joints/libjoints.la \
+ UnitTest++/src/libunittestpp.la