mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-19 07:48:56 -04:00
36 lines
699 B
Bash
36 lines
699 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=6
|
|
|
|
inherit qmake-utils
|
|
|
|
DESCRIPTION="DDE Network Utils"
|
|
HOMEPAGE="https://github.com/linuxdeepin/dde-network-utils"
|
|
SRC_URI="https://github.com/linuxdeepin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-qt/qtdbus:5
|
|
dev-qt/qtgui:5
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dde-base/dde-qt-dbus-factory-0.3.1:=
|
|
"
|
|
|
|
src_prepare() {
|
|
LIBDIR=$(get_libdir)
|
|
sed -i "s|PREFIX/lib|{PREFIX}/${LIBDIR}|g" ${PN}.pro
|
|
QT_SELECT=qt5 eqmake5 PREFIX=/usr
|
|
default_src_prepare
|
|
}
|
|
|
|
src_install() {
|
|
emake INSTALL_ROOT=${D} install
|
|
}
|
|
|