diff options
author | Erich Eckner <git@eckner.net> | 2022-06-19 17:38:17 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2022-06-19 17:39:51 +0200 |
commit | 4c92dd2f521a1763895c84a5c068d1dc5c791435 (patch) | |
tree | 63db64081e0a9c4a77f78ecdf0bca24c46cd9f31 /manualPorts/opencsg | |
parent | af4d8ec2bf275b23ab495a4682f1581660692e9e (diff) | |
download | crux-ports-4c92dd2f521a1763895c84a5c068d1dc5c791435.tar.xz |
openscad new
Diffstat (limited to 'manualPorts/opencsg')
-rw-r--r-- | manualPorts/opencsg/.footprint | 8 | ||||
-rw-r--r-- | manualPorts/opencsg/.md5sum | 1 | ||||
-rw-r--r-- | manualPorts/opencsg/.signature | 5 | ||||
-rw-r--r-- | manualPorts/opencsg/Pkgfile | 27 | ||||
-rwxr-xr-x | manualPorts/opencsg/lastVersion.sh | 10 |
5 files changed, 51 insertions, 0 deletions
diff --git a/manualPorts/opencsg/.footprint b/manualPorts/opencsg/.footprint new file mode 100644 index 0000000..86e0f55 --- /dev/null +++ b/manualPorts/opencsg/.footprint @@ -0,0 +1,8 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/opencsg.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libopencsg.so -> libopencsg.so.1.3.2 +lrwxrwxrwx root/root usr/lib/libopencsg.so.1 -> libopencsg.so.1.3.2 +lrwxrwxrwx root/root usr/lib/libopencsg.so.1.3 -> libopencsg.so.1.3.2 +-rwxr-xr-x root/root usr/lib/libopencsg.so.1.3.2 diff --git a/manualPorts/opencsg/.md5sum b/manualPorts/opencsg/.md5sum new file mode 100644 index 0000000..4e0a529 --- /dev/null +++ b/manualPorts/opencsg/.md5sum @@ -0,0 +1 @@ +ba1a81afef8076d335214ed7ef065ab7 OpenCSG-1.3.2.tar.gz diff --git a/manualPorts/opencsg/.signature b/manualPorts/opencsg/.signature new file mode 100644 index 0000000..c39a04e --- /dev/null +++ b/manualPorts/opencsg/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/deepthought.pub +RWQxCptPusLGGrmSSlBkmRgQfHKYak/1rpoFeKAN6SeJAwcr6VtdqMZ60uKdu46Pn8/jacncDpJTt+ZN2NC2Zg+nuRnaZEKL3QI= +SHA256 (Pkgfile) = ab525ca180cb867f548ac84b2e8f430ae245dddce6f4c22f85a5b67659628bbb +SHA256 (.footprint) = 5a3e5beacd0633aee96e1b6e5c5bd34ce466f8ada5e155ef1d32c1f0966b6c45 +SHA256 (OpenCSG-1.3.2.tar.gz) = c790c92998f7113cb35cde825f81c5532755908a0a3f43c3c3c8df2326b3b925 diff --git a/manualPorts/opencsg/Pkgfile b/manualPorts/opencsg/Pkgfile new file mode 100644 index 0000000..b2f7ce3 --- /dev/null +++ b/manualPorts/opencsg/Pkgfile @@ -0,0 +1,27 @@ +# Description: library for image-based CSG rendering using OpenGL +# URL: http://www.opencsg.org/ +# Maintainer: Erich Eckner, crux at eckner dot net +# Contributor: Joe M, joe9mail at gmail dot com +# Depends on: glew freeglut + +name=opencsg +version=1.3.2 +release=1 +source=(http://www.opencsg.org/OpenCSG-$version.tar.gz) + +build () { + cd OpenCSG-$version + + sed -i -e 's/SUBDIRS = glew/SUBDIRS = /g' Makefile + sed -i -e 's,-I../glew/include,,g' src/Makefile + sed -i -e 's,-L../glew/lib,,g' example/Makefile + + make + + mkdir -p $PKG/usr/{lib,include} + cp -r lib/* $PKG/usr/lib/ + cp -r include/* $PKG/usr/include/ + + # cd glew + # make DESTDIR=$PKG GLEW_DEST=$PKG install +} diff --git a/manualPorts/opencsg/lastVersion.sh b/manualPorts/opencsg/lastVersion.sh new file mode 100755 index 0000000..ee27bd9 --- /dev/null +++ b/manualPorts/opencsg/lastVersion.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +curl -Ss 'http://www.opencsg.org/' \ +| sed ' + s@^.*<a href="https://www\.opencsg\.org/OpenCSG-\([0-9.]\+\)\.tar\.gz">.*$@\1@ + t + d +' \ +| sort -V \ +| tail -n1 |