source: dev-util/geos_one-utils/geos_one-utils-0.1-r1.ebuild @ fdd33a9

Revision fdd33a9, 2.5 KB checked in by geos_one <geos_one@…>, 11 years ago (diff)

dev-util/geos_one-utils: update overlay utils

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1597 6952d904-891a-0410-993b-d76249ca496b

  • Property mode set to 100644
RevLine 
[51a8f26]1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5inherit ruby
6
7DESCRIPTION="geos_one loved tools"
8HOMEPAGE="http://geos_one.mars.arge.at"
9SRC_URI="http://ftp.mars.arge.at/pub/overlay/redigest
10        http://ftp.mars.arge.at/pub/overlay/series2epatch
11        http://www.linuxfromscratch.org/patches/downloads/MAINTAINER/lfspatch
12        http://www.linuxfromscratch.org/patches/downloads/MAINTAINER/checkPatch
13        http://www.stacken.kth.se/~foo/gentoo/files/distclean-0.2.py
14        http://dev.gentoo.org/~betelgeuse/scripts/deputils/checkdeps.rb
15        http://dev.gentoo.org/~betelgeuse/scripts/deputils/oneelf.rb
16        http://dev.gentoo.org/~betelgeuse/scripts/deputils/pkgutil.rb
[71aa7dd]17        http://dev.gentooexperimental.org/~tommy/distfiles/overlay-utils-0.2.1.tar.bz2"
[51a8f26]18
19LICENSE="GPL-2"
20KEYWORDS="ia64 ppc ppc64 ~sparc x86 amd64"
21RESTRICT="mirror"
22
23IUSE=""
24
25DEPEND=""
26RDEPEND="app-portage/gentoolkit-dev
27        dev-util/subversion
28        sys-apps/portage"
29
30
31src_unpack() {
[71aa7dd]32        unpack overlay-utils-0.2.1.tar.bz2
33        cd overlay-utils-0.2.1
[51a8f26]34        sed -i -e 's/sbin\(\/functions\.sh\)/etc\/init\.d\1/' sunrise-commit || die "sed failed"
[fdd33a9]35        sed -i -e 's/echangelog-tng/go-echangelog-tng/' sunrise-commit || die "sed failed"
[51a8f26]36        sed -i -e 's/sunrise/go/' sunrise-commit || die "sed failed"
37        sed -i -e 's/Sunrise/Geos_One/' sunrise-commit || die "sed failed"
38        sed -i -e 's/sunrise/go/' sunrise-commit.1 || die "sed failed"
39        sed -i -e 's/Sunrise/Geos_One/' sunrise-commit.1 || die "sed failed"
40}
41
42src_install() {
[fdd33a9]43        newbin overlay-utils-0.2.1/echangelog-tng go-echangelog-tng || die "dobin failed"
[71aa7dd]44        newbin overlay-utils-0.2.1/sunrise-commit go-commit
45        newman overlay-utils-0.2.1/sunrise-commit.1 go-commit.1
[51a8f26]46        newbin ${DISTDIR}/lfspatch go-patch
47        dosed "s%nano%mcedit%g" /usr/bin/go-patch
48        dosed "s%=\"enabled\"%=\"disabled\"%g" /usr/bin/go-patch
49        dosed "s%.org\"%.org\"\n\n. /etc/portage/go-patch%g" /usr/bin/go-patch
50        mkdir -p ${D}/etc/portage
51        echo "submitter=\"Your Name\"" > ${D}/etc/portage/go-patch
52        echo "email=\"your@email.address\"" >> ${D}/etc/portage/go-patch
53        newbin ${DISTDIR}/checkPatch go-checkPatch
54        newbin ${DISTDIR}/distclean-0.2.py go-distclean
55        newbin ${DISTDIR}/redigest go-redigest
56        newbin ${DISTDIR}/series2epatch go-series2epatch
57        exeinto /usr/share/${PN}/deputils
58        doexe ${DISTDIR}/checkdeps.rb
59        doexe ${DISTDIR}/oneelf.rb
60        doexe ${DISTDIR}/pkgutil.rb
61        dosym /usr/share/${PN}/deputils/checkdeps.rb /usr/bin/go-checkdeps
62        dosed "s%pkgutil.rb%/usr/share/${PN}/deputils/pkgutil.rb%g" /usr/share/${PN}/deputils/checkdeps.rb
63}
64
Note: See TracBrowser for help on using the repository browser.