mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-misc/splitvt: EAPI 6 bump.
Bug: https://bugs.gentoo.org/642168 Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
51
app-misc/splitvt/splitvt-1.6.6-r3.ebuild
Normal file
51
app-misc/splitvt/splitvt-1.6.6-r3.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
MY_P="${P/-/_}"
|
||||
DEB_PL="7"
|
||||
|
||||
DESCRIPTION="Splitting terminals into two shells"
|
||||
HOMEPAGE="http://www.devolution.com/~slouken/projects/splitvt"
|
||||
SRC_URI="
|
||||
http://www.devolution.com/~slouken/projects/${PN}/${P}.tar.gz
|
||||
mirror://debian/pool/main/s/splitvt/${MY_P}-${DEB_PL}.diff.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND="sys-libs/ncurses:0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${WORKDIR}"/${MY_P}-${DEB_PL}.diff
|
||||
"${FILESDIR}"/${PV}-ldflags.patch
|
||||
)
|
||||
|
||||
DOCS=( ANNOUNCE BLURB CHANGES NOTES README TODO )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e "s:/usr/local/bin:${D}/usr/bin:g" \
|
||||
-e "s:/usr/local/man/:${D}/usr/share/man/:g" config.c || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# upstream has their own weirdo configure script...
|
||||
./configure || die "configure failed"
|
||||
sed -i \
|
||||
-e "s:-O2:${CFLAGS}:" \
|
||||
-e "s:^CC = gcc:CC = $(tc-getCC):" Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin /usr/share/man/man1
|
||||
default
|
||||
fperms 755 /usr/bin/xsplitvt
|
||||
doman splitvt.1
|
||||
}
|
||||
Reference in New Issue
Block a user