mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
bump copyright of touched ebuilds to 2024 Signed-off-by: Lucio Sauer <watermanpaint@posteo.net> Signed-off-by: Michał Górny <mgorny@gentoo.org>
45 lines
829 B
Bash
45 lines
829 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit toolchain-funcs
|
|
|
|
DESCRIPTION="Tool to change the parameters of a Plextor CD-ROM drive"
|
|
HOMEPAGE="https://plextor-tool.sourceforge.net/"
|
|
SRC_URI="https://downloads.sourceforge.net/plextor-tool/${P}.src.tar.bz2"
|
|
S="${WORKDIR}"/${PN}/src
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="static"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-build.patch
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
gunzip plextor-tool.8.gz || die
|
|
}
|
|
|
|
src_compile() {
|
|
local targets="plextor-tool"
|
|
|
|
use static && targets="${targets} pt-static"
|
|
|
|
echo ${targets} > my-make-targets || die
|
|
|
|
emake CC="$(tc-getCC)" ${targets}
|
|
}
|
|
|
|
src_install() {
|
|
local targets=$(<my-make-targets)
|
|
|
|
dodoc ../doc/{NEWS,README} TODO
|
|
dobin ${targets}
|
|
doman plextor-tool.8
|
|
}
|