New package: opencsg-1.4.2
This commit is contained in:
parent
16aaa01048
commit
08733ea732
3 changed files with 39 additions and 0 deletions
|
@ -2767,3 +2767,4 @@ libotf.so.0 libotf-0.9.13_1
|
||||||
libimagequant.so.0 libimagequant-2.8.2_1
|
libimagequant.so.0 libimagequant-2.8.2_1
|
||||||
libDOtherSide.so.0 dotherside-0.5.2_1
|
libDOtherSide.so.0 dotherside-0.5.2_1
|
||||||
libstlink-shared.so.1 stlink-1.3.0_1
|
libstlink-shared.so.1 stlink-1.3.0_1
|
||||||
|
libopencsg.so.1 opencsg-1.4.2_1
|
||||||
|
|
1
srcpkgs/opencsg-devel
Symbolic link
1
srcpkgs/opencsg-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
opencsg
|
37
srcpkgs/opencsg/template
Normal file
37
srcpkgs/opencsg/template
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# Template file for 'opencsg'
|
||||||
|
|
||||||
|
pkgname="opencsg"
|
||||||
|
version="1.4.2"
|
||||||
|
revision=1
|
||||||
|
short_desc="A library that does image-based CSG rendering using OpenGL"
|
||||||
|
maintainer="Pierre Allegraud <pierre.allegraud@crans.org>"
|
||||||
|
license="GPL-2"
|
||||||
|
homepage="http://www.opencsg.org"
|
||||||
|
distfiles="http://www.opencsg.org/OpenCSG-${version}.tar.gz"
|
||||||
|
checksum="d952ec5d3a2e46a30019c210963fcddff66813efc9c29603b72f9553adff4afb"
|
||||||
|
wrksrc="OpenCSG-${version}"
|
||||||
|
build_wrksrc="src"
|
||||||
|
|
||||||
|
makedepends="glew-devel libfreeglut-devel"
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
sed -i 's@-Wl,-rpath,\.\./lib@@' Makefile # no rpath
|
||||||
|
make ${makejobs} CC="$CC" CXX="$CXX" LINK="$CXX"
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vmkdir /usr/lib
|
||||||
|
vmkdir /usr/include
|
||||||
|
vcopy ../lib/* /usr/lib
|
||||||
|
vcopy ../include/* /usr/include
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
opencsg-devel_package() {
|
||||||
|
short_desc+=" - development files"
|
||||||
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/*.so
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue