summaryrefslogtreecommitdiff
blob: 2819bef88cc6f42c054e13fe0a8160a7de9f568d (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
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="A curses-based editor for ASCII art"
HOMEPAGE="https://aewan.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"

DOCS=( CHANGELOG README TODO )

DEPEND="sys-libs/zlib
	>=sys-libs/ncurses-5.0:0="

RDEPEND="${DEPEND}"

PATCHES=(
		"${FILESDIR}/${P}-debug_aewl-warnings.patch"
		"${FILESDIR}/${P}-tinfo.patch"
		"${FILESDIR}/${P}-fix-incompatible-function-pointer-types.patch"
		"${FILESDIR}/${P}-fix-warnings.patch"
)

src_prepare() {
	default
	eautoreconf
}