You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.3 KiB
60 lines
1.3 KiB
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
6 years ago
|
EAPI=6
|
||
|
inherit autotools desktop
|
||
13 years ago
|
|
||
|
DATA_PV="1.0.0"
|
||
|
DESCRIPTION="Underwater puzzle game - find a safe way out"
|
||
|
HOMEPAGE="http://fillets.sourceforge.net/"
|
||
|
SRC_URI="mirror://sourceforge/fillets/fillets-ng-${PV}.tar.gz
|
||
|
mirror://sourceforge/fillets/fillets-ng-data-${DATA_PV}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
7 years ago
|
KEYWORDS="~amd64 ~x86"
|
||
13 years ago
|
IUSE=""
|
||
|
|
||
6 years ago
|
RDEPEND="
|
||
|
>=media-libs/libsdl-1.2[sound,video]
|
||
13 years ago
|
>=media-libs/sdl-mixer-1.2.5[vorbis]
|
||
|
>=media-libs/sdl-image-1.2.2[png]
|
||
|
media-libs/smpeg
|
||
|
x11-libs/libX11
|
||
|
media-libs/sdl-ttf
|
||
|
dev-libs/fribidi
|
||
6 years ago
|
>=dev-lang/lua-5:0
|
||
|
"
|
||
13 years ago
|
DEPEND="${RDEPEND}
|
||
6 years ago
|
virtual/pkgconfig
|
||
|
"
|
||
13 years ago
|
|
||
6 years ago
|
S="${WORKDIR}/fillets-ng-${PV}"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
6 years ago
|
default
|
||
13 years ago
|
#.mod was renamed to .fmod in lua 5.1.3 - bug #223271
|
||
|
sed -i \
|
||
|
-e 's/\.mod(/.fmod(/' \
|
||
|
$(grep -rl "\.mod\>" "${WORKDIR}"/fillets-ng-data-${DATA_PV}) \
|
||
|
|| die "sed failed"
|
||
|
rm -f missing
|
||
6 years ago
|
mv configure.in configure.ac || die
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
6 years ago
|
econf --datadir="/usr/share/${PN}"
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
10 years ago
|
default
|
||
6 years ago
|
insinto "/usr/share/${PN}"
|
||
13 years ago
|
cd "${WORKDIR}"/fillets-ng-data-${DATA_PV} || die
|
||
|
rm -f COPYING
|
||
6 years ago
|
einstalldocs
|
||
10 years ago
|
doins -r *
|
||
13 years ago
|
newicon images/icon.png ${PN}.png
|
||
|
make_desktop_entry fillets "Fish Fillets NG"
|
||
|
}
|