diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2013-11-02 09:03:52 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2013-11-02 09:03:52 +0000 |
commit | de7c2878ce699f6d3f27b08857f858e5a78328de (patch) | |
tree | 7b063bbc49fd1d1400c0414f4efccd12280dcbe1 /dev-util/suse-build | |
parent | Stable for arm, wrt bug #488630 (diff) | |
download | gentoo-2-de7c2878ce699f6d3f27b08857f858e5a78328de.tar.gz gentoo-2-de7c2878ce699f6d3f27b08857f858e5a78328de.tar.bz2 gentoo-2-de7c2878ce699f6d3f27b08857f858e5a78328de.zip |
Version bump to the latest fixing building for factory.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'dev-util/suse-build')
-rw-r--r-- | dev-util/suse-build/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/suse-build/suse-build-2013.10.15.ebuild | 60 | ||||
-rw-r--r-- | dev-util/suse-build/suse-build-9999.ebuild | 6 |
3 files changed, 70 insertions, 4 deletions
diff --git a/dev-util/suse-build/ChangeLog b/dev-util/suse-build/ChangeLog index 38401e19436a..b332eb603d9b 100644 --- a/dev-util/suse-build/ChangeLog +++ b/dev-util/suse-build/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/suse-build # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/ChangeLog,v 1.17 2013/07/16 13:52:35 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/ChangeLog,v 1.18 2013/11/02 09:03:52 scarabeus Exp $ + +*suse-build-2013.10.15 (02 Nov 2013) + + 02 Nov 2013; Tomáš Chvátal <scarabeus@gentoo.org> + +suse-build-2013.10.15.ebuild, suse-build-9999.ebuild: + Version bump to the latest fixing building for factory. *suse-build-2013.05.17-r1 (16 Jul 2013) diff --git a/dev-util/suse-build/suse-build-2013.10.15.ebuild b/dev-util/suse-build/suse-build-2013.10.15.ebuild new file mode 100644 index 000000000000..c5e4af17bc43 --- /dev/null +++ b/dev-util/suse-build/suse-build-2013.10.15.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-2013.10.15.ebuild,v 1.1 2013/11/02 09:03:52 scarabeus Exp $ + +EAPI=5 + +EGIT_REPO_URI="git://github.com/openSUSE/obs-build.git" + +if [[ "${PV}" == "9999" ]]; then + EXTRA_ECLASS="git-2" +else + OBS_PACKAGE="build" + OBS_PROJECT="openSUSE:Tools" + EXTRA_ECLASS="obs-download" +fi + +inherit eutils ${EXTRA_ECLASS} +unset EXTRA_ECLASS + +DESCRIPTION="Script to build SUSE Linux RPMs" +HOMEPAGE="https://build.opensuse.org/package/show/openSUSE:Tools/build" + +[[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${PN/suse/obs}-${PV//.}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +IUSE="symlink" +[[ "${PV}" == "9999" ]] || \ +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + virtual/perl-Digest-MD5 + virtual/perl-Getopt-Long + dev-perl/XML-Parser + dev-perl/TimeDate + app-shells/bash + app-arch/cpio + app-arch/rpm +" + +S="${WORKDIR}/${PN/suse/obs}-${PV//.}" + +src_compile() { :; } + +src_install() { + emake DESTDIR="${ED}" pkglibdir=/usr/libexec/suse-build install + cd "${ED}"/usr + find bin -type l | while read i; do + mv "${i}" "${i/bin\//bin/suse-}" + use !symlink || dosym "${i/bin\//suse-}" "/usr/${i}" + done + find share/man/man1 -type f | while read i; do + mv "${i}" "${i/man1\//man1/suse-}" + use !symlink || dosym "${i/man1\//suse-}" "/usr/${i}" + done + find . -type f -exec sed -i 's|/usr/lib/build|/usr/libexec/suse-build|' {} + + + # create symlink for default build config + dosym /usr/libexec/suse-build/configs/sl13.2.conf /usr/libexec/suse-build/configs/default.conf +} diff --git a/dev-util/suse-build/suse-build-9999.ebuild b/dev-util/suse-build/suse-build-9999.ebuild index 946ed292a356..0015dd96eced 100644 --- a/dev-util/suse-build/suse-build-9999.ebuild +++ b/dev-util/suse-build/suse-build-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 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.8 2013/07/16 13:52:35 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-9999.ebuild,v 1.9 2013/11/02 09:03:52 scarabeus Exp $ EAPI=5 @@ -18,7 +18,7 @@ inherit eutils ${EXTRA_ECLASS} unset EXTRA_ECLASS DESCRIPTION="Script to build SUSE Linux RPMs" -HOMEPAGE="https://build.opensuse.org/package/show?package=build&project=openSUSE%3ATools" +HOMEPAGE="https://build.opensuse.org/package/show/openSUSE:Tools/build" [[ "${PV}" == "9999" ]] || SRC_URI="${OBS_URI}/${PN/suse/obs}-${PV//.}.tar.gz" @@ -56,5 +56,5 @@ src_install() { find . -type f -exec sed -i 's|/usr/lib/build|/usr/libexec/suse-build|' {} + # create symlink for default build config - dosym /usr/libexec/suse-build/configs/sl13.1.conf /usr/libexec/suse-build/configs/default.conf + dosym /usr/libexec/suse-build/configs/sl13.2.conf /usr/libexec/suse-build/configs/default.conf } |