gentoo-ebuilds/sys-block/endpoint/endpoint-0.1.0-r2.ebuild
NHOrus 4aee8ac6f6
sys-block/endpoint: update EAPI 7 -> 8, fix impl decl in configure
And also fix ar problem.
Autoreconf requires rewriting configure.ac and also clobbers over
handwritten library version check. Patching configure is better in
this case

Closes: https://bugs.gentoo.org/725772
Closes: https://bugs.gentoo.org/908584
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40371
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-10 09:28:21 +00:00

33 lines
760 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Endpoint turns a Linux machine with a firewire card into an SBP-2 device"
HOMEPAGE="http://oss.oracle.com/projects/endpoint/"
SRC_URI="http://oss.oracle.com/projects/endpoint/dist/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND=">=sys-libs/libraw1394-0.9
>=dev-libs/glib-2:2"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${P}-errormessages.patch
"${FILESDIR}"/${P}-impl-exit.patch
"${FILESDIR}"/${P}-ar.patch
)
src_install() {
emake -j1 install DESTDIR="${D}"
insinto /etc
newins docs/sample-endpoint.conf endpoint.conf
dodoc README AUTHORS ChangeLog
}