| 1 | DESCRIPTION="UADE plays old Amiga tunes through UAE emulation and cloned m68k-assembler Eagleplayer API" |
|---|
| 2 | HOMEPAGE="http://zakalwe.fi/uade" |
|---|
| 3 | SRC_URI="git://zakalwe.fi/uade" |
|---|
| 4 | REVISION="1" |
|---|
| 5 | STATUS_HAIKU="stable" |
|---|
| 6 | MESSAGE="This port only builds with gcc4. Use 'setgcc gcc4' before building." |
|---|
| 7 | DEPEND="pkgconfig >=0.25 |
|---|
| 8 | opensound >=4.2 |
|---|
| 9 | libao >=1.1.0 |
|---|
| 10 | bencode >=2011-03-15" |
|---|
| 11 | #CHECKSUM_MD5="" |
|---|
| 12 | BUILD { |
|---|
| 13 | cd uade-2git |
|---|
| 14 | #Compiler flags below are due to the emulation core needing as much CPU juice as it can get. |
|---|
| 15 | LDFLAGS="-lnetwork" CFLAGS="-march=native -pipe -fomit-frame-pointer -O3 -I`finddir B_COMMON_DIRECTORY`/include" CXXFLAGS=$CFLAGS ./configure --prefix=`finddir B_COMMON_DIRECTORY` --mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man |
|---|
| 16 | } |
|---|
| 17 | |
|---|
| 18 | INSTALL { |
|---|
| 19 | cd uade-2git |
|---|
| 20 | cd src/frontends/libuade/ |
|---|
| 21 | sed -i 's/\-lm/ /g' Makefile |
|---|
| 22 | make |
|---|
| 23 | make install |
|---|
| 24 | |
|---|
| 25 | cd ../uadesimple |
|---|
| 26 | sed -i 's/\-lm/ /g' Makefile |
|---|
| 27 | |
|---|
| 28 | cd ../uade123 |
|---|
| 29 | sed -i 's/\-lm/ /g' Makefile |
|---|
| 30 | |
|---|
| 31 | cd ../../ |
|---|
| 32 | sed -i 's/\-lm/ /g' Makefile |
|---|
| 33 | |
|---|
| 34 | cd ../ |
|---|
| 35 | make |
|---|
| 36 | make install |
|---|
| 37 | |
|---|
| 38 | } |
|---|
| 39 | |
|---|
| 40 | LICENSE="GNU GPL v2" |
|---|
| 41 | COPYRIGHT="2002 - 2013 Heikki Orsila & Michael Doering" |
|---|