diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /net-p2p/ncdc/ncdc-1.21.ebuild | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'net-p2p/ncdc/ncdc-1.21.ebuild')
-rw-r--r-- | net-p2p/ncdc/ncdc-1.21.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/net-p2p/ncdc/ncdc-1.21.ebuild b/net-p2p/ncdc/ncdc-1.21.ebuild new file mode 100644 index 000000000000..ee8caa14759b --- /dev/null +++ b/net-p2p/ncdc/ncdc-1.21.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +DESCRIPTION="ncurses directconnect client" +HOMEPAGE="https://dev.yorhel.nl/ncdc" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="git://g.blicky.net/ncdc.git" +else + SRC_URI="https://dev.yorhel.nl/download/${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~sparc ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="geoip" + +RDEPEND=" + app-arch/bzip2 + dev-db/sqlite:3 + dev-libs/glib:2 + net-libs/gnutls:= + sys-libs/ncurses:0=[unicode] + sys-libs/zlib:= + geoip? ( dev-libs/geoip )" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/makeheaders + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}/${PN}-1.21-tinfo.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_with geoip) + ) + if [[ "${PV}" == *9999 ]] ; then + myeconfargs+=( --enable-git-version ) + fi + econf "${myeconfargs[@]}" +} + +src_compile() { + emake AR="$(tc-getAR)" +} |