2015-05-28 18:34:31 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2014-03-19 11:03:24 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-05-28 18:34:31 +03:00
|
|
|
|
|
|
|
# snapshot extracted from git://git.savannah.gnu.org/gnulib.git using
|
|
|
|
# ./gnulib-tool --create-testdir --without-tests --dir=${PN} ${PN};
|
|
|
|
# cd ${PN}; ./configure; make maintainer-clean
|
2014-03-19 11:03:24 +04:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
DESCRIPTION="Git merge driver for GNU style ChangeLog files"
|
2015-08-25 09:01:42 +03:00
|
|
|
HOMEPAGE="https://www.gnu.org/software/gnulib/"
|
2015-08-24 15:02:01 +03:00
|
|
|
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
2014-03-19 11:03:24 +04:00
|
|
|
|
|
|
|
LICENSE="GPL-3+"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
2015-05-28 18:34:31 +03:00
|
|
|
IUSE=""
|
2014-03-19 11:03:24 +04:00
|
|
|
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
|
|
|
|
|
|
src_prepare() {
|
2015-05-28 18:34:31 +03:00
|
|
|
sed -n "/README/{h;:x;n;/^#/!{H;bx};g;s/\n*$//;s:/usr/local:${EPREFIX}/usr:g;p;q}" \
|
2014-03-19 11:03:24 +04:00
|
|
|
gllib/git-merge-changelog.c >README || die
|
|
|
|
}
|