diff options
Diffstat (limited to 'sys-libs/e2fsprogs-libs')
-rw-r--r-- | sys-libs/e2fsprogs-libs/Manifest | 1 | ||||
-rw-r--r-- | sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.43.4.ebuild | 68 |
2 files changed, 69 insertions, 0 deletions
diff --git a/sys-libs/e2fsprogs-libs/Manifest b/sys-libs/e2fsprogs-libs/Manifest index d671bab6c0d7..c26298f97ddb 100644 --- a/sys-libs/e2fsprogs-libs/Manifest +++ b/sys-libs/e2fsprogs-libs/Manifest @@ -2,3 +2,4 @@ DIST e2fsprogs-libs-1.42.13.tar.gz 605222 SHA256 79ad28c14ffd12083d8c4efea04cff7 DIST e2fsprogs-libs-1.43.1.tar.xz 394600 SHA256 a9ee6778d6e63fc995960f166de52d4d978923504fc94f275317e8cd740ea0ed SHA512 d48686230d42525b8f1b0b252d931f878e426410d84bc8360ff68baeb526edf6cc4d059ed6c72a59d01bb263e082f8f59806b0b914eb2ae76054e8b1633749b8 WHIRLPOOL be148ed32691923871b5e4cd924a1837d4125026af68dea29b463f190be32f468bdbbacb2994fab1b0ec73ee5e2454b5226300f9d951675d809bb7746f7206c8 DIST e2fsprogs-libs-1.43.2.tar.gz 599602 SHA256 b0eb561bc054de8a39fd4c0d59a0fc0336f1c7cf237f4aaf23fe97447116f846 SHA512 4d1e5c0ffbc26a619256f0b744afb25a4e79eb9434a798569305c9a4a310a460f0cb13a18ef88591872ca2e8fffa6519bc48596a34305f577e8b9570ce65c2d6 WHIRLPOOL ea3d912f616cbc7a685622603c119ad2d66a950ba9237c3403214b868e924d72965e2d4bc0f69a08e93098715e77beb876dfd1f74a9f1a175fbfb587187c5e23 DIST e2fsprogs-libs-1.43.3.tar.gz 599387 SHA256 157d90e8482753d3bebe03e8d6a4688a751c1f8b0847ba4aff8627c288fa9d31 SHA512 a1a5c01be1d020d858b958694747ba4f35032cd55bff71078cfddc31a818790ce4ead25fcf5e2aceca42c0faaf1635b6d8e3a2c7b87caac7f6fbbe5a44ceb411 WHIRLPOOL 2d82e8bac810aff56435785d8e345b3c4bef2483cb508b2c4168c7801feb10f5d573f67058f705a9b03e63ba889ef9a02e983831f31649cefe1a73d66f511dac +DIST e2fsprogs-libs-1.43.4.tar.gz 601699 SHA256 779a511a845c434f5fc0c9603fa328f7cad0fdd00dad3da3ce865e4138ba5e93 SHA512 e88b05332bf2c7d19b421661bb34a33503ca20bc475a840b28b68fe6f3939e065f792ac8118cd35ceeba62d33948b133e9a8c531428a59e8716eb96b611764f0 WHIRLPOOL 08338fb946eec00fd31f99487c4d9a6dba00a2bde45b786e8f8e84b72d9c55046415760fa06c948e4c308b4ae79c5753987cdc475e8afb0ee42b4d220daad341 diff --git a/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.43.4.ebuild b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.43.4.ebuild new file mode 100644 index 000000000000..3b088a82b0c5 --- /dev/null +++ b/sys-libs/e2fsprogs-libs/e2fsprogs-libs-1.43.4.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +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 + epatch "${PATCHES[@]}" +} + +multilib_src_configure() { + local myconf=() + # 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 \ + $(tc-is-static-only || echo --enable-elf-shlibs) \ + $(tc-has-tls || echo --disable-tls) \ + $(use_enable nls) \ + "${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 :/ + use static-libs || find "${ED}" -name '*.a' -delete +} |