Changeset - a2381dd3d28a
[Not reviewed]
default
0 0 3
Nathan Brink (binki) - 14 years ago 2011-01-01 17:09:00
ohnobinki@ohnopublishing.net
sys-apps/abi-wrapper: Import abi-wrapper-1.0-r2 from multilib overlay.

(Portage version: 2.2.0_alpha2-r1/hg/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 6BA81050)
3 files changed with 70 insertions and 0 deletions:
0 comments (0 inline, 0 general)
sys-apps/abi-wrapper/Manifest
Show inline comments
 
new file 100644
 
-----BEGIN PGP SIGNED MESSAGE-----
 
Hash: SHA256
 

	
 
AUX abi-wrapper 620 RMD160 8e2994d7f83af7c5804665b4bf929b054f3e88f8 SHA1 843322074a712137f3a9cfcfaf9e8f4dd7155277 SHA256 da19d388743386418d8108966908bbc6377214dadda68f42b1397a84dd342500
 
EBUILD abi-wrapper-1.0-r2.ebuild 488 RMD160 d0250acbc1aa0878964b1617824e409cb94119c2 SHA1 477828dd67bbb1f21064be9c19600e32f7509847 SHA256 a6c0a2c7ff12987772b85da633a5218bd7da20c757cf7c7eca21766d88550ced
 
-----BEGIN PGP SIGNATURE-----
 
Version: GnuPG v2.0.14 (GNU/Linux)
 

	
 
iQIcBAEBCAAGBQJNH6X8AAoJEHQ6UuhrqBBQ33cP/3urZiGmlyNRZIw2NQ3aDCos
 
1QNIy46lPivpZP3GlwHh3Ne3H53gbK1I564+v+HNSDX3eQjpzakQJq4cIlKllBsa
 
E1ofcnNLFaHo2qnVORLTqSKHK4EkQ70HtBAD6VzeAy0uhIukv8ln+gniIUcgDFw4
 
W9n5P4LkwQ7ZP92ldMtz16JLmCz7jaxLAX4QH6Gg0UOuRjrBTicPw6uazRZNPnsO
 
YCE2eIaWrch81GVjjMKUTH7yngzUWAQ8WxZsT1Fkup16K0XHEOshxV3TsH5pLFlg
 
7igTMuOtuVqXqyykEa+dkXEhnQb0eyXusK2atdhZwqqFn5/8act7x4abUuZhAGox
 
8MDBIjN8U7z92nW0wxQ821Ta/tts7lZYqqhju1V3M6T0nBgs6PAkZsAyNTyvuu4O
 
5BNCYJNVyyFJ8yhyhxxT5GcQBogzkolbvDOyVubpy3JwUEB67jXc45nquwR/eS6I
 
sPYm8DxeAIIQmpaFo4HMVsvRvbSmjja58waxflMOY05NZQNj6AqIWUZoe3B6hv8F
 
EDhLwHXXlt3JjYOgH1Y4RpoXJXerWgBTMHDXVb2SUiFickbZX09lTSgHdXbBVMLx
 
cgU6cQlAILDWkFoCDshgQc+I5vyI5a3t1B5dW83/VUvRh8NEibm4YX9+DvQQlE/X
 
PyGHS84uaW1hExAVsxw6
 
=si+F
 
-----END PGP SIGNATURE-----
sys-apps/abi-wrapper/abi-wrapper-1.0-r2.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2009 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: $
 

	
 
DESCRIPTION="Wraps binarys that behave abi dependand"
 
HOMEPAGE="www.gentoo.org"
 
SRC_URI=""
 

	
 
LICENSE="GPL-2"
 
SLOT="0"
 
KEYWORDS="amd64"
 
IUSE=""
 

	
 
src_unpack() {
 
	local abis="${DEFAULT_ABI} ${MULTILIB_ABIS/${DEFAULT_ABI}}"
 
	sed "s/PLACEHOLDER_FOR_HARDCODED_ABIS/${abis}/" "${FILESDIR}"/abi-wrapper > "${WORKDIR}"/abi-wrapper
 
}
 
src_install() {
 
	dobin abi-wrapper || die
 
}
sys-apps/abi-wrapper/files/abi-wrapper
Show inline comments
 
new file 100644
 
#!/bin/sh
 
 
 
# Please be careful to keep this file sh compatible
 
 
 
if [ "${ABI}" ]; then
 
	abi=${ABI}
 
elif [ "${DEFAULT_ABI}" ]; then
 
	abi=${DEFAULT_ABI}
 
else
 
	# we're called from outside portage, so use the hardcoded abi list
 
	hardcoded_abis="PLACEHOLDER_FOR_HARDCODED_ABIS"
 
	for abi in ${hardcoded_abis}; do
 
		[ -f "${0}-${abi}" ] && break
 
		abi=
 
	done
 
fi
 
 
 
if [ -f "${0}-${abi}" ]; then
 
	exec "${0}-${abi}" ${1+"$@"}
 
else
 
	if [ -L "${0}" ]; then
 
		LINK_TARGET="$(readlink "${0}")"
 
		exec "${LINK_TARGET}" ${1+"$@"}
 
	else
 
		echo "${0}: abi-wrapper couldn't find an executable for current abi ${abi}" >&2
 
		exit 1
 
	fi
 
fi
0 comments (0 inline, 0 general)