app-arch/pbzx - 1.0.2 (luke-jr)

Search

Install

Install this version:

emerge -a =app-arch/pbzx-1.0.2

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

autounmask =app-arch/pbzx-1.0.2

Or alternatively:

emerge --autounmask-write -a =app-arch/pbzx-1.0.2

Package Information

Description:
Unpacker for pbzx-format macOS disk images
Homepage:
https://github.com/NiklasRosenstein/pbzx
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
1.0.2 7 ~amd64 ~ppc64 0
View Raw Ebuild
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="Unpacker for pbzx-format macOS disk images"
HOMEPAGE="https://github.com/NiklasRosenstein/pbzx"
SRC_URI="https://github.com/NiklasRosenstein/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"

SLOT="0"
KEYWORDS="~amd64 ~ppc64"

IUSE=""

RDEPEND="
	app-arch/xar:=
	app-arch/xz-utils:=
"
DEPEND="${RDEPEND}"

src_compile() {
	local libs=(
		$(pkg-config liblzma --cflags --libs)
		-lxar
	)
	echo $(tc-getCC) ${CFLAGS} "${libs[@]}" -o "${PN}" ${LDFLAGS} "${PN}".c
	$(tc-getCC) ${CFLAGS} "${libs[@]}" -o "${PN}" ${LDFLAGS} "${PN}".c || die
}

src_install() {
	into /usr
	dobin "${PN}"
	default
}

Inherited Eclasses

Dependencies

DEPEND

	app-arch/xar:=
	app-arch/xz-utils:=

RDEPEND

	app-arch/xar:=
	app-arch/xz-utils:=

Manifest for 1.0.2

Type File Size Source URLs
DIST pbzx-1.0.2.tar.gz 16083 bytes https://github.com/NiklasRosenstein/pbzx/archive/v1.0.2.tar.gz