mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
sys-libs/e2fsprogs-libs: Bump to version 1.43.8
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST e2fsprogs-libs-1.43.3.tar.gz 599387 BLAKE2B decdb20114ad7b00754ecfe5658de6446cac8f2861a131cde71b6440934f5e66cbef7e5ef9945a15c6bccb3da0ca49d8f7bc04be59ee3565a03a16f850cdfbd1 SHA512 a1a5c01be1d020d858b958694747ba4f35032cd55bff71078cfddc31a818790ce4ead25fcf5e2aceca42c0faaf1635b6d8e3a2c7b87caac7f6fbbe5a44ceb411
|
||||
DIST e2fsprogs-libs-1.43.6.tar.gz 595409 BLAKE2B a5edf65b637b7f3fab16174a695baa232b8aeab6e8d28140a3a68ed63eee309949ca85a28f33d15199068fffe9174ef76b28f403ec09118296a458611592a36e SHA512 80a643ba349aac79c88548e9692066f777c5f9e82e309b348606a8078de456171535e6e5df91f73ca3db9d03bb539b1a19883cf74615357bdf77f3bd20cc0b11
|
||||
DIST e2fsprogs-libs-1.43.7.tar.gz 595431 BLAKE2B 12677792ff602586fa41f15c16a19b9d4135be8a4d8e4f26d40a8ee5b09254bec34f3ec6186b386fe0ef5690f26b2be54a46931eb5c76bf0693ce5877927fdc4 SHA512 b57c069d2e95588823fd69169378dd9d8a04ca77daa1a5dda8398cd198ace6184a3cb08507ae2b195de399caa4d197306043749f4a3010bccd942ba00d44162b
|
||||
DIST e2fsprogs-libs-1.43.8.tar.gz 596246 BLAKE2B 6847f177ccfdb06b49f58951b258647ec11b1237e3d33e44c2f7c6b93569445010914921d9447c842eba141c31a9982c72558dc6eb62fb2b24d1574a3204b1a8 SHA512 3127351310542326102dbbe84dade4043ff7f3046fb84e3364036a0975103a0aa146ba02400400e73affa658b93a69d0cb14855c2ab8f6da5b88d9ea0f17c9e8
|
||||
|
||||
70
sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.43.8.ebuild
Normal file
70
sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.43.8.ebuild
Normal file
@@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
case ${PV} in
|
||||
*_pre*) UP_PV="${PV%_pre*}-WIP-${PV#*_pre}" ;;
|
||||
*) UP_PV=${PV} ;;
|
||||
esac
|
||||
|
||||
inherit toolchain-funcs eutils multilib-minimal
|
||||
|
||||
DESCRIPTION="e2fsprogs libraries (common error and subsystem)"
|
||||
HOMEPAGE="http://e2fsprogs.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/e2fsprogs/${PN}-${UP_PV}.tar.gz
|
||||
mirror://kernel/linux/kernel/people/tytso/e2fsprogs/v${UP_PV}/${PN}-${UP_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~m68k-mint ~x86-solaris"
|
||||
IUSE="nls static-libs"
|
||||
|
||||
RDEPEND="!sys-libs/com_err
|
||||
!sys-libs/ss
|
||||
!<sys-fs/e2fsprogs-1.41.8"
|
||||
DEPEND="nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${P%_pre*}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.42.13-fix-build-cflags.patch #516854
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
printf 'all:\n%%:;@:\n' > doc/Makefile.in # don't bother with docs #305613
|
||||
default
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
$(tc-is-static-only || echo --enable-elf-shlibs)
|
||||
$(tc-has-tls || echo --disable-tls)
|
||||
$(use_enable nls)
|
||||
)
|
||||
# we use blkid/uuid from util-linux now
|
||||
if use kernel_linux ; then
|
||||
export ac_cv_lib_{uuid_uuid_generate,blkid_blkid_get_cache}=yes
|
||||
myconf+=( --disable-lib{blkid,uuid} )
|
||||
fi
|
||||
ac_cv_path_LDCONFIG=: \
|
||||
ECONF_SOURCE="${S}" \
|
||||
CC="$(tc-getCC)" \
|
||||
BUILD_CC="$(tc-getBUILD_CC)" \
|
||||
BUILD_LD="$(tc-getBUILD_LD)" \
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake V=1
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake V=1 STRIP=: DESTDIR="${D}" install || die
|
||||
gen_usr_ldscript -a com_err ss $(usex kernel_linux '' 'uuid blkid')
|
||||
# configure doesn't have an option to disable static libs :/
|
||||
if ! use static-libs ; then
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user