Replace rm with find
Seems to be a problem with globbing.
This commit is contained in:
@@ -0,0 +1,33 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="A fast replacement for tigetvnc"
|
||||||
|
HOMEPAGE="https://www.turbovnc.org/"
|
||||||
|
SRC_URI="https://sourceforge.net/projects/turbovnc/files/${PV}/${P}.tar.gz/download -> ${P}.tar.gz"
|
||||||
|
RESTRICT="primaryuri"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="virtual/jdk:1.8
|
||||||
|
media-libs/libjpeg-turbo[java]
|
||||||
|
!net-misc/tigervnc"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DTJPEG_JAR=/usr/share/classes/turbojpeg.jar
|
||||||
|
-DTJPEG_JNILIBRARY=/usr/lib64/libturbojpeg.so
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
find "${D}/usr/share/man/man1/" -name Xserver.1\* -print0 | xargs -0 rm
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user