app-misc/cmdpack - 1.03 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =app-misc/cmdpack-1.03

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/cmdpack-1.03

Or alternatively:

emerge --autounmask-write -a =app-misc/cmdpack-1.03

Package Information

Description:
Neill Corlett's command-line pack.
Homepage:
https://web.archive.org/web/20140330233023/https://neillcorlett.com/cmdpack/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
1.03 8 ~amd64 ~ppc64 ~x86 0
View Raw Ebuild
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Neill Corlett's command-line pack."
HOMEPAGE="https://web.archive.org/web/20140330233023/https://neillcorlett.com/cmdpack/"
SRC_URI="https://web.archive.org/web/20130616041227/http://www.neillcorlett.com/downloads/${P}-src.tar.gz -> ${P}.tar.gz"

S="${WORKDIR}/${P}-src/src"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"

DEPEND="!media-sound/vb2rip
	!app-cdr/bin2iso"
RDEPEND="${DEPEND}"

PATCHES=(
	"${FILESDIR}/${PN}-cdpatch-uppercase-flag.patch"
)

DOCS=( ../doc/cmdpack.txt )

src_compile() {
	local app
	local cc
	read -ra cflags <<< "${CFLAGS-}"
	cc=$(tc-getCC)
	for app in bin2iso \
		bincomp \
		brrrip \
		byteshuf \
		byteswap \
		cdpatch \
		ecm \
		fakecrc \
		hax65816 \
		id3point \
		rels \
		screamf \
		subfile \
		uips \
		vb2rip \
		wordadd \
		zerofill; do
		echo "${cc}" "${cflags[@]}" -fomit-frame-pointer -o ${app} ${app}.c
		"${cc}" "${cflags[@]}" -fomit-frame-pointer -o ${app} ${app}.c || die
	done
}

src_install() {
	dobin bincomp \
		brrrip \
		byteshuf \
		byteswap \
		cdpatch \
		ecm \
		fakecrc \
		hax65816 \
		id3point \
		rels \
		screamf \
		subfile \
		uips \
		vb2rip \
		wordadd \
		zerofill
	dosym -r "${EPREFIX}/usr/bin/ecm" /usr/bin/unecm
	einstalldocs
}

Inherited Eclasses

Dependencies

DEPEND

!media-sound/vb2rip
	!app-cdr/bin2iso

RDEPEND

!media-sound/vb2rip
	!app-cdr/bin2iso

Manifest for 1.03

Type File Size Source URLs
DIST cmdpack-1.03.tar.gz 80716 bytes https://web.archive.org/web/20130616041227/http://www.neillcorlett.com/downloads/cmdpack-1.03-src.tar.gz