Files
@ 45ab1f5cf51c
Branch filter:
Location: portage-overlay.git/app-arch/wimlib/wimlib-1.11.0.ebuild - annotation
45ab1f5cf51c
1.3 KiB
application/vnd.gentoo.ebuild
add last-rited version of net-analyzer/bsnmp to tree
f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b f9416b92444b | # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools pax-utils
if [[ -z ${PV%%*9999} ]]; then
inherit git-r3
EGIT_REPO_URI="git://wimlib.net/${PN}"
else
inherit vcs-snapshot
MY_PV="${PV/_/-}"
MY_PV="${MY_PV^^}"
SRC_URI="https://wimlib.net/downloads/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="primaryuri"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="The open source Windows Imaging (WIM) library"
HOMEPAGE="https://wimlib.net/"
LICENSE="|| ( GPL-3+ LGPL-3+ ) CC0-1.0"
SLOT="0"
IUSE="cpu_flags_x86_ssse3 fuse ntfs openssl threads yasm"
REQUIRED_USE="cpu_flags_x86_ssse3? ( !openssl )"
RDEPEND="
dev-libs/libxml2:2
ntfs? ( sys-fs/ntfs3g )
fuse? ( sys-fs/fuse )
openssl? ( dev-libs/openssl:0 )
"
DEPEND="
${RDEPEND}
cpu_flags_x86_ssse3? (
yasm? ( dev-lang/yasm )
!yasm? ( dev-lang/nasm )
)
"
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_with ntfs ntfs-3g)
$(use_with fuse)
$(use_enable cpu_flags_x86_ssse3 ssse3-sha1)
$(use_with openssl libcrypto)
$(use_enable threads multithreaded-compression)
)
has test ${FEATURES} && myeconfargs+=( --enable-test-support )
ac_cv_prog_NASM="$(usex yasm yasm nasm)" \
econf "${myeconfargs[@]}"
}
src_compile() {
emake
pax-mark m "${S}"/.libs/wimlib-imagex
}
|