blob: 515f3cde59a11911e486d017162e149ca18073cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools desktop
DESCRIPTION="Port of Abuse by Crack Dot Com"
HOMEPAGE="http://abuse.zoy.org/"
SRC_URI="http://abuse.zoy.org/raw-attachment/wiki/download/${P}.tar.gz"
LICENSE="GPL-2 WTFPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=media-libs/libsdl-1.1.6[sound,opengl,video]
media-libs/sdl-mixer
virtual/opengl"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-gentoo-r1.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
# Prevent segfault at start: https://bugs.archlinux.org/task/52915
econf --enable-debug
}
src_install() {
# Source-based install
default
doicon doc/${PN}.png
make_desktop_entry abuse Abuse
}
|