x11-misc/xosview: Removed old.

Package-Manager: Portage-2.3.31, Repoman-2.3.9
This commit is contained in:
Lars Wendler
2018-04-20 12:39:10 +02:00
parent 4631d0e111
commit bcb5f910d0
2 changed files with 0 additions and 52 deletions

View File

@@ -1,2 +1 @@
DIST xosview-1.19.tar.gz 143151 BLAKE2B b5675d897f1ada4be068ebe68a177ef4a0d1cc732bfccce66019e7b40569662cf11135a0f5abf8d9792c5cd9342cc8d64cb707a7dca46dbcd457183e49aa0c1d SHA512 57234a232617b14925e21864334f2d06dce442d552763835b1a505863dd80efc27d3d55d50692de4a548e86e25bb5ab3354bd92801b6504c030e1985f19b6a08
DIST xosview-1.20.tar.gz 146373 BLAKE2B 7d53b5f2f8ce463917a1cfa65eedb60c835c6d530a19ede6bba6bfe295a01582861ca3fb7513b9a8590d9fe5111779a38db8723a2e38c911f002bce88bfc95f6 SHA512 25cd6a8cdaaff9121f0e8de7a1799d4c2706c5eb1111f3b3f8427b16e45a333fb4c675a1dec2ef6b40773e83124ff27eacc82f2b9eb6c836855930cbbf08957a

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils toolchain-funcs
DESCRIPTION="X11 operating system viewer"
HOMEPAGE="http://www.pogo.org.uk/~mark/xosview/"
SRC_URI="http://www.pogo.org.uk/~mark/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2 BSD"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="suid"
COMMON_DEPS="x11-libs/libX11
x11-libs/libXpm
x11-libs/libXt"
RDEPEND="${COMMON_DEPS}
media-fonts/font-misc-misc"
DEPEND="${COMMON_DEPS}
x11-proto/xproto"
src_prepare() {
default
sed -i -e 's:lib/X11/app:share/X11/app:g' -i ${PN}.1 || die
sed -i -e "s:Git:${PV}:g" ${PN}.cc || die
tc-export CXX
}
src_compile() {
emake OPTFLAGS=''
}
src_install() {
dobin ${PN}
use suid && fperms 4755 /usr/bin/${PN}
insinto /usr/share/X11/app-defaults
newins Xdefaults XOsview
doman *.1
dodoc CHANGES README.linux TODO
}
pkg_postinst() {
if ! use suid ; then
ewarn "If you want to use serial meters ${PN} needs to be executed as root."
ewarn "Please see ${EPREFIX}/usr/share/doc/${PF}/README.linux for details."
fi
}