diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-12-30 10:00:22 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-12-30 10:00:34 +0100 |
commit | 4ac82086eadd5a1c0ec8dfed111b4a2c1b348cd5 (patch) | |
tree | 73f1490756dceb9f9eb49b38dc6c94cf45596612 /sys-fs | |
parent | x11-misc/tdrop: add live ebuild (diff) | |
download | gentoo-4ac82086eadd5a1c0ec8dfed111b4a2c1b348cd5.tar.gz gentoo-4ac82086eadd5a1c0ec8dfed111b4a2c1b348cd5.tar.bz2 gentoo-4ac82086eadd5a1c0ec8dfed111b4a2c1b348cd5.zip |
sys-fs/hfsutils: Add Debian patch level 14
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/hfsutils/Manifest | 2 | ||||
-rw-r--r-- | sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/sys-fs/hfsutils/Manifest b/sys-fs/hfsutils/Manifest index 53ce2e798c0f..89ac4f034adf 100644 --- a/sys-fs/hfsutils/Manifest +++ b/sys-fs/hfsutils/Manifest @@ -1 +1,3 @@ DIST hfsutils-3.2.6.tar.gz 207697 BLAKE2B 96c3d839e3c07e325e4e175a484b3c637d7cdebdc02ec11ee6810096162d155aa75d71a8e133b801b767a78d50115384460c4181359767f49e015524800885e8 SHA512 0db3050e5969c4e4e6c6ddb10cbc221a5837eb1e12f9331e7129511d31a4ec8d38420ed0b948dadc85ed990f3b1085e930eb7f0c37b3883866d963e47cbbb173 +DIST hfsutils_3.2.6-14.debian.tar.xz 6780 BLAKE2B 00474d328f5ec2614ec429052e6940b9eb10d04f433399f686ccc24d66ca1559e7ca45c4ab3ebe6386e02fc4de5ffd96242a7aa6f58d6032798d5536da912a61 SHA512 33d44f7b9094743031fc9315cf9380e158225ee2cd5af7a5ec7c55a2ae9af42e16f9cad3c667b153a1d3d9484d4ea773d34b88b78bfe9499df52a8b9d77defb2 +DIST hfsutils_3.2.6.orig.tar.gz 207697 BLAKE2B 96c3d839e3c07e325e4e175a484b3c637d7cdebdc02ec11ee6810096162d155aa75d71a8e133b801b767a78d50115384460c4181359767f49e015524800885e8 SHA512 0db3050e5969c4e4e6c6ddb10cbc221a5837eb1e12f9331e7129511d31a4ec8d38420ed0b948dadc85ed990f3b1085e930eb7f0c37b3883866d963e47cbbb173 diff --git a/sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild b/sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild new file mode 100644 index 000000000000..ef853eb4c343 --- /dev/null +++ b/sys-fs/hfsutils/hfsutils-3.2.6_p14.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="HFS FS Access utils" +HOMEPAGE="https://www.mars.org/home/rob/proj/hfs/" +SRC_URI=" + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p/-}.debian.tar.xz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" +IUSE="tcl tk" + +DEPEND=" + tcl? ( dev-lang/tcl:0= ) + tk? ( dev-lang/tk:0= ) +" +RDEPEND=" + ${DEPEND} +" + +# use tk requires tcl - bug #150437 +REQUIRED_USE="tk? ( tcl )" +PATCHES=( + "${FILESDIR}"/largerthan2gb.patch + "${FILESDIR}"/${P/_p*}-fix-tcl-8.6.patch +) +S=${WORKDIR}/${P/_p*} + +src_prepare() { + eapply $( + for file in $(cat "${WORKDIR}"/debian/patches/series) + do echo "${WORKDIR}"/debian/patches/${file} + done + ) + default +} + +src_configure() { + tc-export CC + econf $(use_with tcl) $(use_with tk) +} + +src_compile() { + emake AR="$(tc-getAR) rc" CC="$(tc-getCC)" RANLIB="$(tc-getRANLIB)" + emake CC="$(tc-getCC)" -C hfsck +} + +src_install() { + dodir /usr/bin /usr/lib /usr/share/man/man1 + emake \ + prefix="${ED}"/usr \ + MANDEST="${ED}"/usr/share/man \ + infodir="${ED}"/usr/share/info \ + install + dobin hfsck/hfsck + dodoc BLURB CHANGES README TODO doc/*.txt +} |