mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
app-arch/arj: Drop old
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST arj_3.10.22-13.debian.tar.xz 15904 BLAKE2B c70a27a8a0a00526d40346ded93f17ee207c81034b0940a196f73b0f40507ba2511e0d4bb9d9a18c342fde93f41c58064c13e45b1b0409a3e156a5b4ddfba81f SHA512 670f9fb69f1f4363a4d277151bc99286de024764a99ca5276e9f46d560718a906657ec6e2898290f57fbf1007c9190959d38de14ecd1d3205fb26323eff6795d
|
||||
DIST arj_3.10.22-15.debian.tar.xz 16756 BLAKE2B f9bf45f103cf3f76867006bdbd61f6c5e04d75d9543e99e01304b285b8858034c60f38ea76bc8cdc502b44a8515fb7a04fd9d2f3d07f9ea19e1c5d3a4d448eff SHA512 66e1bc3188afc24573fe98374f9b0cf939d0d3c7a1b356e6367ef544fb0e64721fa686fd1e791f58508576f0f50994878347bcb054f48ebe240cc9ab97e00688
|
||||
DIST arj_3.10.22.orig.tar.gz 431467 BLAKE2B e40409b9f88a1a7e56de4200b464c3dc420659fa3991bf904ca86bbdb428fc8d17f095b9eabf3170712458ef2136e96545810201cc6755c15e45d4ae9a5e3a03 SHA512 4730dfdbab4f8095396c337578ed69bdaae52955ad468db50b52af8ad2846ecd6cfc05eb3ac0d03838c1c32ea60126f14a22b93e8181c06b9546456f3937ff76
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils multilib toolchain-funcs
|
||||
|
||||
PATCH_LEVEL=13
|
||||
|
||||
DESCRIPTION="Utility for opening arj archives"
|
||||
HOMEPAGE="http://arj.sourceforge.net"
|
||||
SRC_URI="mirror://debian/pool/main/a/arj/${P/-/_}.orig.tar.gz
|
||||
mirror://debian/pool/main/a/arj/${P/-/_}-${PATCH_LEVEL}.debian.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-implicit-declarations.patch \
|
||||
"${FILESDIR}/${P}-glibc2.10.patch"
|
||||
|
||||
EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/debian/patches
|
||||
|
||||
epatch "${FILESDIR}"/${P}-darwin.patch
|
||||
epatch "${FILESDIR}"/${P}-interix.patch
|
||||
|
||||
cd gnu
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd gnu || die
|
||||
CFLAGS="${CFLAGS} -Wall" econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
sed -i -e '/stripgcc/d' GNUmakefile || die "sed failed."
|
||||
|
||||
ARJLIBDIR="${EPREFIX}/usr/$(get_libdir)"
|
||||
|
||||
emake CC=$(tc-getCC) libdir="${ARJLIBDIR}" \
|
||||
ADD_LDFLAGS="${LDFLAGS}" \
|
||||
pkglibdir="${ARJLIBDIR}" all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake pkglibdir="${ARJLIBDIR}" DESTDIR="${D}" install
|
||||
|
||||
dodoc doc/rev_hist.txt
|
||||
}
|
||||
Reference in New Issue
Block a user