| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/games-action/descent3/descent3-1.4.0b-r1.ebuild,v 1.11 2007/03/12 13:16:23 genone Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/games-action/descent3/descent3-1.4.0b-r1.ebuild,v 1.12 2007/09/13 00:44:29 wolf31o2 Exp $ |
| 4 | |
4 | |
| 5 | inherit eutils multilib games |
5 | inherit eutils multilib games |
| 6 | |
6 | |
| 7 | IUSE="nocd videos" |
7 | IUSE="nocd videos" |
| 8 | DESCRIPTION="Descent 3 - 3-Dimensional indoor/outdoor spaceship combat" |
8 | DESCRIPTION="Descent 3 - 3-Dimensional indoor/outdoor spaceship combat" |
| … | |
… | |
| 89 | # now, since these files are coming off a cd, the times/sizes/md5sums wont |
89 | # now, since these files are coming off a cd, the times/sizes/md5sums wont |
| 90 | # be different ... that means portage will try to unmerge some files (!) |
90 | # be different ... that means portage will try to unmerge some files (!) |
| 91 | # we run touch on ${D} so as to make sure portage doesnt do any such thing |
91 | # we run touch on ${D} so as to make sure portage doesnt do any such thing |
| 92 | find "${Ddir}" -exec touch '{}' \ |
92 | find "${Ddir}" -exec touch '{}' \ |
| 93 | |
93 | |
| 94 | if use amd64 |
|
|
| 95 | then |
|
|
| 96 | dosym /usr/$(get_libdir)/loki_libsmpeg-0.4.so.0 \ |
94 | dosym /usr/$(get_libdir)/loki_libsmpeg-0.4.so.0 \ |
| 97 | "${dir}"/libsmpeg-0.4.so.0 || die "failed compatibility symlink" |
95 | "${dir}"/libsmpeg-0.4.so.0 || die "failed compatibility symlink" |
| 98 | fi |
|
|
| 99 | |
96 | |
| 100 | games_make_wrapper descent3 ./descent3.dynamic "${dir}" "${dir}" |
97 | games_make_wrapper descent3 ./descent3.dynamic "${dir}" "${dir}" |
| 101 | newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm |
98 | newicon ${CDROM_ROOT}/icon.xpm ${PN}.xpm |
| 102 | |
99 | |
| 103 | # Fix for 2.6 kernel crash |
100 | # Fix for 2.6 kernel crash |