diff options
author | Michal Hrušecký <miska@gentoo.org> | 2013-05-27 16:38:29 +0000 |
---|---|---|
committer | Michal Hrušecký <miska@gentoo.org> | 2013-05-27 16:38:29 +0000 |
commit | 3fe46310c98a771060b714f51a3d9b3142d90ddc (patch) | |
tree | bdc13ed9c515cca106b812efa707b9e6ee5948c0 /dev-util/suse-build | |
parent | updated to version 0.139.2 (diff) | |
download | gentoo-2-3fe46310c98a771060b714f51a3d9b3142d90ddc.tar.gz gentoo-2-3fe46310c98a771060b714f51a3d9b3142d90ddc.tar.bz2 gentoo-2-3fe46310c98a771060b714f51a3d9b3142d90ddc.zip |
Updated to the latest version (2013.05.17)
Added missing dependency on cpio
(Portage version: 2.1.12/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-util/suse-build')
-rw-r--r-- | dev-util/suse-build/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/suse-build/suse-build-2013.05.17.ebuild | 57 | ||||
-rw-r--r-- | dev-util/suse-build/suse-build-9999.ebuild | 10 |
3 files changed, 71 insertions, 5 deletions
diff --git a/dev-util/suse-build/ChangeLog b/dev-util/suse-build/ChangeLog index 996fa126b119..53a5f4358851 100644 --- a/dev-util/suse-build/ChangeLog +++ b/dev-util/suse-build/ChangeLog @@ -1,6 +1,13 @@ # 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.14 2013/04/29 13:22:14 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/ChangeLog,v 1.15 2013/05/27 16:38:29 miska Exp $ + +*suse-build-2013.05.17 (27 May 2013) + + 27 May 2013; Michal Hrusecky <miska@gentoo.org> + +suse-build-2013.05.17.ebuild, suse-build-9999.ebuild: + Updated to the latest version (2013.05.17) + Added missing dependency on cpio 29 Apr 2013; Agostino Sarubbo <ago@gentoo.org> suse-build-2013.02.27.ebuild: Move KEYWORDS on another line to avoid ekeyword failure diff --git a/dev-util/suse-build/suse-build-2013.05.17.ebuild b/dev-util/suse-build/suse-build-2013.05.17.ebuild new file mode 100644 index 000000000000..fa33f2fea61c --- /dev/null +++ b/dev-util/suse-build/suse-build-2013.05.17.ebuild @@ -0,0 +1,57 @@ +# 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.05.17.ebuild,v 1.1 2013/05/27 16:38:29 miska 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?package=build&project=openSUSE%3ATools" + +[[ "${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|' {} + +} diff --git a/dev-util/suse-build/suse-build-9999.ebuild b/dev-util/suse-build/suse-build-9999.ebuild index 8f37e08da855..89d4194a8cba 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.6 2013/03/18 10:18:58 miska Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/suse-build/suse-build-9999.ebuild,v 1.7 2013/05/27 16:38:29 miska Exp $ EAPI=5 @@ -25,7 +25,8 @@ HOMEPAGE="https://build.opensuse.org/package/show?package=build&project=openSUSE LICENSE="GPL-2" SLOT="0" IUSE="symlink" -[[ "${PV}" == "9999" ]] || KEYWORDS="~amd64 ~x86" +[[ "${PV}" == "9999" ]] || \ +KEYWORDS="amd64 x86" RDEPEND=" virtual/perl-Digest-MD5 @@ -33,6 +34,7 @@ RDEPEND=" dev-perl/XML-Parser dev-perl/TimeDate app-shells/bash + app-arch/cpio app-arch/rpm " @@ -45,11 +47,11 @@ src_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}" + 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}" + use !symlink || dosym "${i/man1\//suse-}" "/usr/${i}" done find . -type f -exec sed -i 's|/usr/lib/build|/usr/libexec/suse-build|' {} + } |