diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-09-28 18:54:58 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-09-28 18:54:58 +0000 |
commit | 0ce1a71a666679fc4508f75d451aa1805d1b7cb3 (patch) | |
tree | 95df4d0c2122cfda1cd1ddf390940acef00d4b3d /app-shells/soapbox | |
parent | Marking minitest-1.6.0 ppc for bug 321043 (diff) | |
download | gentoo-2-0ce1a71a666679fc4508f75d451aa1805d1b7cb3.tar.gz gentoo-2-0ce1a71a666679fc4508f75d451aa1805d1b7cb3.tar.bz2 gentoo-2-0ce1a71a666679fc4508f75d451aa1805d1b7cb3.zip |
Respect LDFLAGS (bug #336834). Fix version in soapbox.sh. Remove empty DEPEND.
(Portage version: 2.2_rc86/cvs/Linux i686)
Diffstat (limited to 'app-shells/soapbox')
-rw-r--r-- | app-shells/soapbox/ChangeLog | 10 | ||||
-rw-r--r-- | app-shells/soapbox/soapbox-0.3.1-r1.ebuild | 41 |
2 files changed, 49 insertions, 2 deletions
diff --git a/app-shells/soapbox/ChangeLog b/app-shells/soapbox/ChangeLog index 225a9b0d3439..5393ba2978ff 100644 --- a/app-shells/soapbox/ChangeLog +++ b/app-shells/soapbox/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-shells/soapbox -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/soapbox/ChangeLog,v 1.4 2008/12/30 20:51:13 angelos Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/soapbox/ChangeLog,v 1.5 2010/09/28 18:54:58 jer Exp $ + +*soapbox-0.3.1-r1 (28 Sep 2010) + + 28 Sep 2010; Jeroen Roovers <jer@gentoo.org> +soapbox-0.3.1-r1.ebuild: + Respect LDFLAGS (bug #336834). Fix version in soapbox.sh. Remove empty + DEPEND. 30 Dec 2008; Christoph Mende <angelos@gentoo.org> soapbox-0.3.1.ebuild: QA: Respect CC (bug 243708) diff --git a/app-shells/soapbox/soapbox-0.3.1-r1.ebuild b/app-shells/soapbox/soapbox-0.3.1-r1.ebuild new file mode 100644 index 000000000000..5b5898b0bbbb --- /dev/null +++ b/app-shells/soapbox/soapbox-0.3.1-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/soapbox/soapbox-0.3.1-r1.ebuild,v 1.1 2010/09/28 18:54:58 jer Exp $ + +EAPI="2" + +inherit multilib toolchain-funcs + +DESCRIPTION="A preload (sandbox) library to restrict filesystem writes" +HOMEPAGE="http://dag.wieers.com/home-made/soapbox/" +SRC_URI="http://dag.wieers.com/home-made/soapbox/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + sed -i soapbox.sh \ + -e "s|0.3.0|${PV}|g" \ + -e "s:/lib:/usr/$(get_libdir):" \ + || die "sed soapbox.sh" + sed -i Makefile \ + -e 's|$(CFLAGS)|& $(LDFLAGS)|g' \ + || die "sed Makefile" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC)" \ + CFLAGS="${CFLAGS} -fPIC" \ + LDFLAGS="${LDFLAGS}" \ + || die "emake failed" +} + +src_install() { + dolib.so libsoapbox.so || die "soapsox.so" + newbin soapbox.sh soapbox || die "soapbox" + dodoc AUTHORS BUGS ChangeLog README THANKS TODO +} |