dev-util/mfgtools: bump to 1.2.39, add new doc USE flag
This commit is contained in:
parent
08abe73583
commit
9d87d0fd7f
2 changed files with 12 additions and 3 deletions
49
dev-util/mfgtools/mfgtools-1.2.39.ebuild
Normal file
49
dev-util/mfgtools/mfgtools-1.2.39.ebuild
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/NXPmicro/mfgtools.git"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/NXPmicro/mfgtools/archive/uuu_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Freescale/NXP I.MX Chip image deploy tools"
|
||||
HOMEPAGE="https://github.com/NXPmicro/mfgtools"
|
||||
|
||||
LICENSE="BSD-3"
|
||||
SLOT="0"
|
||||
IUSE="-doc"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libzip
|
||||
sys-libs/zlib
|
||||
virtual/libusb
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-uuu_${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
cmake-utils_src_prepare
|
||||
echo "#define GIT_VERSION \"libuuu_${PV}\"" > "${S}/libuuu/gitversion.h"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_DOC=$(usex doc ON OFF)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue