mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-17 23:48:20 +00:00
Done via: ``` git grep -l 'virtual/zlib"' | xargs sed -i -e 's@virtual/zlib"@virtual/zlib:="@' ``` Signed-off-by: Michał Górny <mgorny@gentoo.org>
42 lines
880 B
Bash
42 lines
880 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="A command line rom manager for MAME, MESS, AdvanceMAME, AdvanceMESS and Raine"
|
|
HOMEPAGE="http://advancemame.sourceforge.net/scan-readme.html"
|
|
SRC_URI="
|
|
https://downloads.sourceforge.net/advancemame/${P}.tar.gz
|
|
https://dev.gentoo.org/~juippis/distfiles/tmp/advancescan-1.16-gcc6.patch"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="
|
|
dev-libs/expat
|
|
virtual/zlib:="
|
|
RDEPEND="${DEPEND}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-sys-expat.patch
|
|
"${DISTDIR}"/${P}-gcc6.patch
|
|
"${FILESDIR}"/${P}-gcc11.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
rm -rf expat || die
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_install() {
|
|
dobin advscan advdiff
|
|
dodoc AUTHORS HISTORY README doc/*.txt advscan.rc.linux
|
|
doman doc/{advscan,advdiff}.1
|
|
|
|
docinto html
|
|
dodoc doc/*.html
|
|
}
|