| 1 | DESCRIPTION="Wings3D is a subdivision modeler" |
|---|
| 2 | HOMEPAGE="http://www.wings3d.com" |
|---|
| 3 | SRC_URI="http://sourceforge.net/projects/wings/files/wings/1.3.0.1/wings-1.3.0.1.tar.bz2/download" |
|---|
| 4 | CHECKSUM_MD5="ab063494de82e225cfc1b49edcc1a234" |
|---|
| 5 | |
|---|
| 6 | LICENSE="GNU General Public License (GPL) version 2" |
|---|
| 7 | COPYRIGHT="Björn Gustavsson" |
|---|
| 8 | REVISION="1" |
|---|
| 9 | STATUS_HAIKU="unstable" |
|---|
| 10 | |
|---|
| 11 | DEPEND="dev-util/makeself >= 2.1.5 |
|---|
| 12 | media-libs/esdl >= 1.0.1" |
|---|
| 13 | |
|---|
| 14 | MESSAGE="Requires that libSDL works with OpenGL, i.e., 'testgl' must not fail." |
|---|
| 15 | |
|---|
| 16 | BUILD { |
|---|
| 17 | if [ -n "$(setgcc | grep 'gcc2')" ]; then |
|---|
| 18 | GCCVER=gcc2 |
|---|
| 19 | else |
|---|
| 20 | GCCVER=gcc4 |
|---|
| 21 | fi |
|---|
| 22 | setgcc gcc4 |
|---|
| 23 | export ESDL_PATH=/boot/develop/haikuports/media-libs/esdl/work/esdl-1.0.1 |
|---|
| 24 | cd wings-1.3.0.1 |
|---|
| 25 | make -s |
|---|
| 26 | setgcc $GCCVER |
|---|
| 27 | } |
|---|
| 28 | |
|---|
| 29 | INSTALL { |
|---|
| 30 | if [ -n "$(setgcc | grep 'gcc2')" ]; then |
|---|
| 31 | GCCVER=gcc2 |
|---|
| 32 | else |
|---|
| 33 | GCCVER=gcc4 |
|---|
| 34 | fi |
|---|
| 35 | setgcc gcc4 |
|---|
| 36 | export ESDL_PATH=/boot/develop/haikuports/media-libs/esdl/work/esdl-1.0.1 |
|---|
| 37 | cd wings-1.3.0.1 |
|---|
| 38 | make -s unix |
|---|
| 39 | ./wings-1.3.0.1-haiku.bzip2.run |
|---|
| 40 | rm *.run |
|---|
| 41 | setgcc $GCCVER |
|---|
| 42 | } |
|---|