diff options
author | Romain Perier <mrpouet@gentoo.org> | 2009-07-25 14:40:37 +0000 |
---|---|---|
committer | Romain Perier <mrpouet@gentoo.org> | 2009-07-25 14:40:37 +0000 |
commit | 8a8167942a45977f47ffc01c7e3eeddb217b4e25 (patch) | |
tree | f7d23332fa4a4d9e40c8c892cb21de90e1caa7cb /sys-libs | |
parent | sys-libs/libfaketime: Version bump for libfaketime-0.8 (diff) | |
download | sunrise-8a8167942a45977f47ffc01c7e3eeddb217b4e25.tar.gz sunrise-8a8167942a45977f47ffc01c7e3eeddb217b4e25.tar.bz2 sunrise-8a8167942a45977f47ffc01c7e3eeddb217b4e25.zip |
sys-libs/libfaketime: Fix severals QA. like dosym on shared object, doman man-page, and add LDFLAGS into sed expression.
svn path=/sunrise/; revision=8882
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libfaketime/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/libfaketime/Manifest | 4 | ||||
-rw-r--r-- | sys-libs/libfaketime/libfaketime-0.8.ebuild | 24 |
3 files changed, 24 insertions, 9 deletions
diff --git a/sys-libs/libfaketime/ChangeLog b/sys-libs/libfaketime/ChangeLog index 7ad2e0def..344914a22 100644 --- a/sys-libs/libfaketime/ChangeLog +++ b/sys-libs/libfaketime/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 25 Jul 2009; Romain Perier (mrpouet) <mrpouet@gentoo.org> + libfaketime-0.8.ebuild: + Fix severals QA. like dosym on shared object, doman man-page, and add + LDFLAGS into sed expression. + 25 Jul 2009; Pavel Sanda (ps) <ps at twin.jikos.cz> -libfaketime-0.5.ebuild, +libfaketime-0.8.ebuild: Version bump for libfaketime-0.8 diff --git a/sys-libs/libfaketime/Manifest b/sys-libs/libfaketime/Manifest index 79b781994..3b1d6d0e9 100644 --- a/sys-libs/libfaketime/Manifest +++ b/sys-libs/libfaketime/Manifest @@ -1,4 +1,4 @@ DIST libfaketime-0.8.tar.gz 21188 RMD160 1fba8d16f6b252dbe6b6c590fee08920b54149bb SHA1 7053ba5984a94d24cbe63bb7f285a9d1c5418e31 SHA256 e115120ab4d199f7fd2ecdb87ae2963523d6e8a5314c2e914573afd7d5c704c3 -EBUILD libfaketime-0.8.ebuild 539 RMD160 b3d9f67030eb77c02fe854da9a7018e49b424153 SHA1 23822cdedd2ca9d2f3a42da1ac3c4c974519b543 SHA256 0e49f99394373b85043c082651b2dcb7134a37bae6f46615ac3cf7aeb5d3a091 -MISC ChangeLog 412 RMD160 ebc030bf544daf206809a885206a2efd9e061f90 SHA1 1a01fc03e2106ff9d6a539fc4c5e930946ef4fc7 SHA256 d4a025c0ecbd91e66f5a475c4d840eecba93a492753816d95af976e05d9a9a34 +EBUILD libfaketime-0.8.ebuild 988 RMD160 6197c00c61d3a53fdfa88d851715b6005861df37 SHA1 7100b628893094c9f1c2a6a893fcb0516047035f SHA256 98be970df9a94fb22eeacceb7377cab7a9d2c57a0d585f0e58244f36dcd8dc28 +MISC ChangeLog 602 RMD160 1a276929bca3718dbb45c11722daf39f59a57117 SHA1 2939bef3b8c8131ef100bae4f6e2541d304f181b SHA256 087b7d9498a6975693d3b63485684eed160c76aaf78a3f8ceb5f47d8e6efe4fd MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/sys-libs/libfaketime/libfaketime-0.8.ebuild b/sys-libs/libfaketime/libfaketime-0.8.ebuild index 04ce8bf7d..4873f31cf 100644 --- a/sys-libs/libfaketime/libfaketime-0.8.ebuild +++ b/sys-libs/libfaketime/libfaketime-0.8.ebuild @@ -2,24 +2,34 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ +inherit multilib + DESCRIPTION="FakeTime Preload Library" 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="~x86" +KEYWORDS="~x86 ~amd64" IUSE="" -DEPEND="" -RDEPEND="" +#FIXME: Write a fix for make test (only libfaketime.so seems to be tested) src_compile() { - sed -i 's:${CC}:$(CC) $(CFLAGS):; - s:\(soname,libfaketime\.so\)\.1:\1:' Makefile - emake lib || die "make lib failed" + sed -i 's:${CC}:$(CC) $(CFLAGS) $(LDFLAGS):; + s:\(soname,libfaketime\.so\)\.1:\1:' Makefile || die "sed failed" + emake libs || die "make libs failed" } src_install() { - dolib libfaketime.so.1 + local my_bin=${PN/lib} + + dosym ${PN}.so.1 /usr/$(get_libdir)/${PN}.so \ + || die "dosym ${PN}.so failed" + dosym ${PN}MT.so.1 /usr/$(get_libdir)/${PN}MT.so \ + || die "dosym ${PN}MT.so failed" + dolib ${PN}*.so* || die "dolib failed" + dobin ${my_bin} || die "dobin failed" + doman ${my_bin}.1 || die "doman failed" + dodoc README Changelog || die "dodoc failed" } |