x11-plugins/wmxres: Drop old

Package-Manager: Portage-2.3.49, Repoman-2.3.10
This commit is contained in:
Mikle Kolyada
2018-09-19 22:13:09 +03:00
parent 5702ccf2fa
commit 6648477fd3

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit eutils multilib toolchain-funcs
DESCRIPTION="Dock application to select your display mode among those possible"
HOMEPAGE="http://yalla.free.fr/wn"
SRC_URI="http://yalla.free.fr/wn/${PN}-1.1-0.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~amd64 x86 ~ppc"
IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXext
x11-libs/libXpm
x11-libs/libXxf86vm"
DEPEND="${RDEPEND}
x11-base/xorg-proto
x11-libs/libXxf86dga"
S=${WORKDIR}/${PN}.app
src_prepare() {
epatch "${FILESDIR}"/${PN}-debian-1.1-1.2.patch
sed -e "s:-g -c -O2:${CFLAGS} -c:" \
-e "s:\tcc :\t $(tc-getCC) \$(LDFLAGS) :g" \
-i Makefile || die "sed failed"
}
src_compile() {
emake INCDIR="-I/usr/include" LIBDIR="-L/usr/$(get_libdir)"
}
src_install() {
dobin ${PN}/${PN}
doman ${PN}.1
}