net-p2p/amule-dlp-antileech - 9999 (gentoo-zh)

Search

Package Information

Description:
amule-dlp-antileech-9999N, dynamic DLP library for amule-dlp
Homepage:
https://github.com/persmule/amule-dlp.antileech
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

WX_GTK_VER="3.2-gtk3"
inherit autotools git-r3 wxwidgets
DESCRIPTION="$PN, dynamic DLP library for amule-dlp"
HOMEPAGE="https://github.com/persmule/amule-dlp.antileech"
EGIT_REPO_URI="https://github.com/persmule/amule-dlp.antiLeech.git"

LICENSE="GPL-2"
SLOT="0"
IUSE="X"

DEPEND="x11-libs/wxGTK:${WX_GTK_VER}"
RDEPEND="net-p2p/amule-dlp"

src_prepare() {
	default
	eautoreconf || die
}

src_configure() {
	if use X; then
		einfo "wxGTK with X / GTK support will be used"
		need-wxwidgets unicode
	else
		einfo "wxGTK without X support will be used"
		need-wxwidgets base-unicode
	fi

	econf
}

src_install() {
	emake DESTDIR="${D}" install || die
}

USE Flags

X

Dependencies

DEPEND

x11-libs/wxGTK:3.2-gtk3

RDEPEND

net-p2p/amule-dlp