summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen@occam.eroen.eu>2013-06-22 17:17:59 +0200
committereroen <eroen@falcon.eroen.eu>2014-03-12 19:39:41 +0100
commit5dab04bd21385f8318f5e1dada787eaf8ecf1b99 (patch)
tree828f0ce3efb3258d63607bdbd15157da82ec4eab /sys-libs
parentlibfaketime-0.9.5 from gentoo (diff)
downloaderoen-5dab04bd21385f8318f5e1dada787eaf8ecf1b99.tar.gz
eroen-5dab04bd21385f8318f5e1dada787eaf8ecf1b99.tar.bz2
eroen-5dab04bd21385f8318f5e1dada787eaf8ecf1b99.zip
libfaketime-0.9.5 - multilib enable
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libfaketime/libfaketime-0.9.5.ebuild20
1 files changed, 17 insertions, 3 deletions
diff --git a/sys-libs/libfaketime/libfaketime-0.9.5.ebuild b/sys-libs/libfaketime/libfaketime-0.9.5.ebuild
index 1cac958..a59150b 100644
--- a/sys-libs/libfaketime/libfaketime-0.9.5.ebuild
+++ b/sys-libs/libfaketime/libfaketime-0.9.5.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils toolchain-funcs multilib
+inherit eutils toolchain-funcs multilib-minimal
DESCRIPTION="Report faked system time to programs"
HOMEPAGE="http://www.code-wizards.com/projects/libfaketime/ https://github.com/wolfcw/libfaketime/"
@@ -18,14 +18,28 @@ src_prepare() {
epatch "${FILESDIR}"/0001-Fake-__clock_gettime-and-similar-calls-using-__.-cal.patch
epatch "${FILESDIR}"/0002-Finish-safe-faking-of-internal-calls.patch
tc-export CC
+ multilib_copy_sources
}
-src_install() {
+multilib_src_test() {
+ if [[ ${ABI} == ${DEFAULT_ABI} ]]; then
+ default_src_test
+ else
+ einfo "not running tests for ${ABI}"
+ echo ${DEFAULT_ABI}
+ fi
+}
+
+multilib_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
+}
+
+src_install() {
+ multilib-minimal_src_install
+ doman man/faketime.1
dodoc NEWS README TODO
}