# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit udev user
if [[ ${PV} == 9999* ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
fi
-DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)"
+DESCRIPTION="Implementation of Microsoft's Media Transfer Protocol (MTP)"
HOMEPAGE="http://libmtp.sourceforge.net/"
LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ?
virtual/pkgconfig
doc? ( app-doc/doxygen )"
-DOCS="AUTHORS README TODO"
+DOCS=( AUTHORS README TODO )
pkg_setup() {
enewgroup plugdev
default
# ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011)
- rm -f ChangeLog
+ rm ChangeLog || die
if [[ ${PV} == 9999* ]]; then
local crpthf=config.rpath
local crpthd=/usr/share/gettext/${crpthf}
if has_version '>sys-devel/gettext-0.18.3' && [[ -e ${crpthd} ]]; then
- cp "${crpthd}" .
+ cp "${crpthd}" . || die
else
- touch ${crpthf} # This is from upstream autogen.sh
+ touch ${crpthf} || die # This is from upstream autogen.sh
fi
eautoreconf
fi
src_configure() {
local myeconfargs=(
- $(use_enable static-libs static)
- $(use_enable doc doxygen)
$(use_enable crypt mtpz)
+ $(use_enable doc doxygen)
+ $(use_enable static-libs static)
--with-udev="$(get_udevdir)"
--with-udev-group=plugdev
--with-udev-mode=0660
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit udev user
if [[ ${PV} == 9999* ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
fi
-DESCRIPTION="An implementation of Microsoft's Media Transfer Protocol (MTP)"
+DESCRIPTION="Implementation of Microsoft's Media Transfer Protocol (MTP)"
HOMEPAGE="http://libmtp.sourceforge.net/"
LICENSE="LGPL-2.1" # LGPL-2+ and LGPL-2.1+ ?
virtual/pkgconfig
doc? ( app-doc/doxygen )"
-DOCS="AUTHORS README TODO"
+DOCS=( AUTHORS README TODO )
pkg_setup() {
enewgroup plugdev
default
# ChangeLog says "RETIRING THIS FILE ..pause.. GIT" (Last entry from start of 2011)
- rm -f ChangeLog
+ rm ChangeLog || die
if [[ ${PV} == 9999* ]]; then
local crpthf=config.rpath
local crpthd=/usr/share/gettext/${crpthf}
if has_version '>sys-devel/gettext-0.18.3' && [[ -e ${crpthd} ]]; then
- cp "${crpthd}" .
+ cp "${crpthd}" . || die
else
- touch ${crpthf} # This is from upstream autogen.sh
+ touch ${crpthf} || die # This is from upstream autogen.sh
fi
eautoreconf
fi
src_configure() {
local myeconfargs=(
- $(use_enable static-libs static)
- $(use_enable doc doxygen)
$(use_enable crypt mtpz)
+ $(use_enable doc doxygen)
+ $(use_enable static-libs static)
--with-udev="$(get_udevdir)"
--with-udev-group=plugdev
--with-udev-mode=0660