2011-11-19 17:05:31 +01:00
|
|
|
# Copyright 1999-2011 Gentoo Foundation
|
2011-11-19 16:55:48 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
2022-03-20 18:42:52 +01:00
|
|
|
EAPI="6"
|
2011-11-19 16:55:48 +01:00
|
|
|
MY_PN="devscripts"
|
|
|
|
|
|
|
|
inherit eutils
|
|
|
|
|
|
|
|
DESCRIPTION="geos_one loved tools"
|
|
|
|
HOMEPAGE="http://linamh.disconnected-by-peer.at"
|
2022-03-20 18:42:52 +01:00
|
|
|
#SRC_URI_BASE="mirror://debian/pool/main/${MY_PN:0:1}/${MY_PN}/"
|
|
|
|
#SRC_URI="${SRC_URI_BASE}${MY_PN}_${PV}.tar.xz"
|
|
|
|
SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/devscripts/${PV}ubuntu0.1/devscripts_${PV}ubuntu0.1.tar.xz"
|
2011-11-19 16:55:48 +01:00
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
LICENSE="GPL-2 GPL-3 BSD"
|
|
|
|
KEYWORDS="~amd64 ~arm ~x86"
|
|
|
|
RESTRICT="mirror"
|
|
|
|
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="dev-lang/ruby
|
|
|
|
virtual/perl-JSON-PP
|
|
|
|
app-arch/dpkg
|
|
|
|
app-text/docbook-xsl-stylesheets
|
|
|
|
|
|
|
|
app-portage/portage-utils"
|
|
|
|
|
2022-03-20 18:42:52 +01:00
|
|
|
S="${WORKDIR}/${MY_PN}-${PV}ubuntu0.1"
|
2011-11-19 16:55:48 +01:00
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
sed -e "s!/stylesheet/xsl/nwalsh/!/xsl-ns-stylesheets/!g" \
|
|
|
|
-e "s!--install-layout=deb!!g" -i $(find -name Makefile)
|
2022-03-20 18:42:52 +01:00
|
|
|
|
|
|
|
eapply_user
|
2011-11-19 16:55:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake DESTDIR="${D}" install || die "install fail"
|
2022-03-20 18:42:52 +01:00
|
|
|
dodoc README COPYING AUTHORS
|
2011-11-19 16:55:48 +01:00
|
|
|
}
|