| 1 | DESCRIPTION="fheroes2" |
|---|
| 2 | HOMEPAGE="http://sourceforge.net/projects/fheroes2/" |
|---|
| 3 | SRC_URI="svn+https://fheroes2.svn.sourceforge.net/svnroot/fheroes2#1878" |
|---|
| 4 | #CHECKSUM_MD5="" |
|---|
| 5 | REVISION="1" |
|---|
| 6 | STATUS_HAIKU="stable" |
|---|
| 7 | MESSAGE="Please change your compiler to GCC 4.3 with setgcc command" |
|---|
| 8 | DEPEND="media-libs/libsdl >= 1.2.14 |
|---|
| 9 | media-libs/libogg >= 1.1.14 |
|---|
| 10 | media-libs/sdl-image >= 1.2.10 |
|---|
| 11 | media-libs/sdl-mixer >= 1.2.11 |
|---|
| 12 | media-libs/sdl-net >= 1.2.7 |
|---|
| 13 | media-libs/sdl-ttf >= 2.0.10 |
|---|
| 14 | sys-devel/gettext >= 0.17" |
|---|
| 15 | |
|---|
| 16 | BUILD { |
|---|
| 17 | cd fheroes2-1878 |
|---|
| 18 | cd trunk |
|---|
| 19 | cd fheroes2 |
|---|
| 20 | make |
|---|
| 21 | } |
|---|
| 22 | |
|---|
| 23 | INSTALL { |
|---|
| 24 | cd fheroes2-1878 |
|---|
| 25 | cd trunk |
|---|
| 26 | cd fheroes2 |
|---|
| 27 | mkdir -p /boot/apps/fheroes2 |
|---|
| 28 | cp -rf data /boot/apps/fheroes2 |
|---|
| 29 | cp -rf files /boot/apps/fheroes2 |
|---|
| 30 | cp -rf image /boot/apps/fheroes2 |
|---|
| 31 | cp -rf maps /boot/apps/fheroes2 |
|---|
| 32 | cp fheroes2.cfg /boot/apps/fheroes2 |
|---|
| 33 | cp fheroes2 /boot/apps/fheroes2 |
|---|
| 34 | cp README /boot/apps/fheroes2 |
|---|
| 35 | find /boot/apps/fheroes2 -type d -name ".svn" | xargs rm -rf |
|---|
| 36 | } |
|---|