summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Hrušecký <miska@gentoo.org>2011-06-18 18:39:47 +0000
committerMichal Hrušecký <miska@gentoo.org>2011-06-18 18:39:47 +0000
commit4a1b4722207b0bf10efb86b35ba2c6e2007b9181 (patch)
tree28f85a58e151ff5fa3ebb8bb217281eec2814251 /dev-util/suse-build
parentHopefully fix crash in resolver #371617 by Daniel Kluev. (diff)
downloadhistorical-4a1b4722207b0bf10efb86b35ba2c6e2007b9181.tar.gz
historical-4a1b4722207b0bf10efb86b35ba2c6e2007b9181.tar.bz2
historical-4a1b4722207b0bf10efb86b35ba2c6e2007b9181.zip
New ebuild for suse-build. Ebuild written by me. Dependency for osc - bug 350599
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'dev-util/suse-build')
-rw-r--r--dev-util/suse-build/ChangeLog12
-rw-r--r--dev-util/suse-build/Manifest5
-rw-r--r--dev-util/suse-build/metadata.xml9
-rw-r--r--dev-util/suse-build/suse-build-2011.01.20.ebuild45
-rw-r--r--dev-util/suse-build/suse-build-9999.ebuild45
5 files changed, 116 insertions, 0 deletions
diff --git a/dev-util/suse-build/ChangeLog b/dev-util/suse-build/ChangeLog
new file mode 100644
index 000000000000..22dc0b0a9d0f
--- /dev/null
+++ b/dev-util/suse-build/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-util/suse-build
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/ChangeLog,v 1.1 2011/06/18 18:39:47 miska Exp $
+
+*suse-build-9999 (17 Jun 2011)
+*suse-build-2011.01.20 (17 Jun 2011)
+
+ 17 Jun 2011; Michal Hrusecky <miska@gentoo.org>
+ +suse-build-2011.01.20.ebuild, +suse-build-9999.ebuild, +metadata.xml:
+ New ebuild for suse-build. Ebuild written by me. Dependency for osc - bug
+ #350599
+
diff --git a/dev-util/suse-build/Manifest b/dev-util/suse-build/Manifest
new file mode 100644
index 000000000000..5ec362c0fd18
--- /dev/null
+++ b/dev-util/suse-build/Manifest
@@ -0,0 +1,5 @@
+DIST build-2011.01.20.tar.gz 251392 RMD160 7249d79c33b3a435f60f7481ac9208cc1434a86a SHA1 efd26cd3d93fe1d4343d46100fc16e6f3a68aedf SHA256 6c85b5caf6d889df5654451289adda478442208a0be5d77bc5509f645bf8f342
+EBUILD suse-build-2011.01.20.ebuild 1313 RMD160 75f57980700c9c22503722a7f192b122b9aeaac9 SHA1 38065c0c07a97445652cb5ed049d85e5ae7c5ab0 SHA256 f7d40cb67c71a22619a444917d7bacf885961498a8737f93e683478c5bbc0cc1
+EBUILD suse-build-9999.ebuild 1307 RMD160 bc789cebe3519afbef6009e685df64c03ea82667 SHA1 750e4f27f120d7a46cc9646460720ba2fe35fe5a SHA256 e0ac0fa56b32f8c49a7e6c97e44465f18530d36e2517fb4832491bcc4d4bc4bf
+MISC ChangeLog 489 RMD160 689ee78f2cdc9c8e8e62695f936f2c4627c26a70 SHA1 0d708c6d65a56f6f1ed5893b9c6cea0f27751615 SHA256 7cdfeff940a2fdc7b06cfd54cd58db8f9fd5515ff1d54fcec3f53face938f797
+MISC metadata.xml 273 RMD160 df86f141675d7a2f62007552a93d7f74a2273da3 SHA1 daed2ae3f65e340314557299673e2bc374caf159 SHA256 aca3740115b9104a3997cec444095177391276c8cf4bc33d9519f172c1e4c2b7
diff --git a/dev-util/suse-build/metadata.xml b/dev-util/suse-build/metadata.xml
new file mode 100644
index 000000000000..b46ac6c8c07b
--- /dev/null
+++ b/dev-util/suse-build/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<longdescription lang="en">
+Script for building RPMs for SUSE Linux in a chroot environment.
+</longdescription>
+</pkgmetadata>
+
diff --git a/dev-util/suse-build/suse-build-2011.01.20.ebuild b/dev-util/suse-build/suse-build-2011.01.20.ebuild
new file mode 100644
index 000000000000..9e21f55ecc8e
--- /dev/null
+++ b/dev-util/suse-build/suse-build-2011.01.20.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-2011.01.20.ebuild,v 1.1 2011/06/18 18:39:47 miska Exp $
+
+EAPI=4
+
+EGIT_REPO_URI="git://gitorious.org/opensuse/build.git"
+[[ "${PV}" == "9999" ]] && EXTRA_ECLASS="git-2"
+MY_PN="build"
+
+inherit eutils ${EXTRA_ECLASS}
+
+DESCRIPTION="Script to build SUSE Linux RPMs"
+HOMEPAGE="https://build.opensuse.org/package/show?package=build&project=openSUSE%3ATools"
+[[ "${PV}" == "9999" ]] || SRC_URI="https://api.opensuse.org/public/source/openSUSE:11.4/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+[[ "${PV}" == "9999" ]] || KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="virtual/perl-Digest-MD5
+ virtual/perl-Getopt-Long
+ dev-perl/XML-Parser
+ dev-perl/TimeDate
+ app-shells/bash
+ app-arch/rpm"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_compile() { :; }
+
+src_install() {
+ emake DESTDIR="${D}" pkglibdir=/usr/share/suse-build install
+ cd "${ED}"/usr
+ find bin -type l | while read i; do
+ mv "${i}" "${i/bin\//bin/suse-}"
+ done
+ find share/man/man1 -type f | while read i; do
+ mv "${i}" "${i/man1\//man1/suse-}"
+ done
+ find . -type f -exec grep -l "/usr/lib/build" \{\} \; | while read i; do
+ sed -i 's|/usr/lib/build|/usr/share/suse-build|' "${i}"
+ done
+}
diff --git a/dev-util/suse-build/suse-build-9999.ebuild b/dev-util/suse-build/suse-build-9999.ebuild
new file mode 100644
index 000000000000..cd416fbd1560
--- /dev/null
+++ b/dev-util/suse-build/suse-build-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-9999.ebuild,v 1.1 2011/06/18 18:39:47 miska Exp $
+
+EAPI=4
+
+EGIT_REPO_URI="git://gitorious.org/opensuse/build.git"
+[[ "${PV}" == "9999" ]] && EXTRA_ECLASS="git-2"
+MY_PN="build"
+
+inherit eutils ${EXTRA_ECLASS}
+
+DESCRIPTION="Script to build SUSE Linux RPMs"
+HOMEPAGE="https://build.opensuse.org/package/show?package=build&project=openSUSE%3ATools"
+[[ "${PV}" == "9999" ]] || SRC_URI="https://api.opensuse.org/public/source/openSUSE:11.4/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+[[ "${PV}" == "9999" ]] || KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="virtual/perl-Digest-MD5
+ virtual/perl-Getopt-Long
+ dev-perl/XML-Parser
+ dev-perl/TimeDate
+ app-shells/bash
+ app-arch/rpm"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_compile() { :; }
+
+src_install() {
+ emake DESTDIR="${D}" pkglibdir=/usr/share/suse-build install
+ cd "${ED}"/usr
+ find bin -type l | while read i; do
+ mv "${i}" "${i/bin\//bin/suse-}"
+ done
+ find share/man/man1 -type f | while read i; do
+ mv "${i}" "${i/man1\//man1/suse-}"
+ done
+ find . -type f -exec grep -l "/usr/lib/build" \{\} \; | while read i; do
+ sed -i 's|/usr/lib/build|/usr/share/suse-build|' "${i}"
+ done
+}