summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-02-27 23:54:08 +0000
committerTim Harder <radhermit@gentoo.org>2012-02-27 23:54:08 +0000
commit3015debc3f1e5c9e6f2da137db805b1bdf928409 (patch)
treedef4af9050f67ef4570c4cdfa201d9d3f0b0b4a5 /sys-libs/libfaketime/libfaketime-0.9-r1.ebuild
parentVersion bump; since the new version uses kramdown rather than redcloth, add s... (diff)
downloadgentoo-2-3015debc3f1e5c9e6f2da137db805b1bdf928409.tar.gz
gentoo-2-3015debc3f1e5c9e6f2da137db805b1bdf928409.tar.bz2
gentoo-2-3015debc3f1e5c9e6f2da137db805b1bdf928409.zip
Revbump to fix undefined symbol error at runtime when built with --as-needed (bug #406041). Remove old.
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs/libfaketime/libfaketime-0.9-r1.ebuild')
-rw-r--r--sys-libs/libfaketime/libfaketime-0.9-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-libs/libfaketime/libfaketime-0.9-r1.ebuild b/sys-libs/libfaketime/libfaketime-0.9-r1.ebuild
new file mode 100644
index 000000000000..27152ecb861d
--- /dev/null
+++ b/sys-libs/libfaketime/libfaketime-0.9-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfaketime/libfaketime-0.9-r1.ebuild,v 1.1 2012/02/27 23:54:08 radhermit Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs multilib
+
+DESCRIPTION="Report faked system time to programs"
+HOMEPAGE="http://www.code-wizards.com/projects/libfaketime/"
+SRC_URI="http://www.code-wizards.com/projects/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S=${WORKDIR}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-make.patch
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_test() {
+ emake CC="$(tc-getCC)" test
+}
+
+src_install() {
+ dobin src/faketime
+ doman man/faketime.1
+ exeinto /usr/$(get_libdir)/faketime
+ doexe src/${PN}*.so.*
+ dosym ${PN}.so.1 /usr/$(get_libdir)/faketime/${PN}.so
+ dosym ${PN}MT.so.1 /usr/$(get_libdir)/faketime/${PN}MT.so
+ dodoc NEWS README TODO
+}