Merge branch 'net-misc/megacmd' into 'master'
net-misc/megacmd: Added See merge request src_prepare/src_prepare-overlay!88
This commit is contained in:
commit
c0e6795ecc
1
net-misc/megacmd/Manifest
Normal file
1
net-misc/megacmd/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST megacmd-1.2.0.tar.gz 2030438 BLAKE2B 4bddbec51962e8c0b8652a8fec94cb9f5e8f3392228908fed465f9ba83f2f075e24782249ace5aa9d76a5381bac98ff055f7a179e9eac21a3b7421ea8482c5a4 SHA512 e72b1ffc61fa6f501b9f287dda9a3213e266046dee65098f437e5d8c158f9bdfbd9e1f1751c6e1b93de3671e81de871e4ef845ec1809660766efeb3d2104fc8f
|
1
net-misc/megacmd/megacmd-1.2.0.ebuild
Symbolic link
1
net-misc/megacmd/megacmd-1.2.0.ebuild
Symbolic link
@ -0,0 +1 @@
|
||||
megacmd-9999.ebuild
|
54
net-misc/megacmd/megacmd-9999.ebuild
Normal file
54
net-misc/megacmd/megacmd-9999.ebuild
Normal file
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
if [[ -z ${PV%%*9999} ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/meganz/${PN}.git"
|
||||
EGIT_SUBMODULES=( )
|
||||
else
|
||||
inherit vcs-snapshot
|
||||
MY_PV="2335a80"
|
||||
SRC_URI="
|
||||
mirror://githubcl/meganz/${PN}/tar.gz/${MY_PV}
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
RESTRICT="primaryuri"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Command Line Interactive and Scriptable Application to access MEGA"
|
||||
HOMEPAGE="https://mega.nz/cmd"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
>=net-misc/meganz-sdk-3.6.9:=[-megacmd(-),sodium(+),sqlite]
|
||||
dev-libs/libpcre:3[cxx]
|
||||
sys-libs/readline:0
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
DOCS=( README.md build/megacmd/megacmd.changes )
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e '/SUBDIRS.*sdk/d' \
|
||||
-e '/sdk\/m4/d' \
|
||||
-e 's:LMEGAINC=.*:PKG_CHECK_MODULES([MEGA],[libmega])\nLMEGAINC=${MEGA_CFLAGS}:' \
|
||||
-i Makefile.am configure.ac
|
||||
sed \
|
||||
-e 's:\$(top_builddir)/sdk/src/libmega\.la:$(MEGA_LIBS):' \
|
||||
-e 's:mega_cmd_LDADD = .*:&$(MEGA_LIBS):' \
|
||||
-e 's:^mega_exec_CXXFLAGS.*:&\nmega_exec_LDADD=$(MEGA_LIBS):' \
|
||||
-e 's:sdk/include/mega/[^ ]\+\.h::g' \
|
||||
-e '/sdk\/src\/[^ ]\+\.cpp/d' \
|
||||
-i src/include.am
|
||||
default
|
||||
eautoreconf
|
||||
}
|
8
net-misc/megacmd/metadata.xml
Normal file
8
net-misc/megacmd/metadata.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>y0rune@aol.com</email>
|
||||
<name>Marcin Woźniak</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user