Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libowfat: libowfat-0.29.ebuild ChangeLog
Date: Mon, 05 Nov 2012 06:52:52
Message-Id: 20121105065233.914A6215F3@flycatcher.gentoo.org
1 patrick 12/11/05 06:52:33
2
3 Modified: ChangeLog
4 Added: libowfat-0.29.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.34 dev-libs/libowfat/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libowfat/ChangeLog?rev=1.34&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libowfat/ChangeLog?rev=1.34&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libowfat/ChangeLog?r1=1.33&r2=1.34
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libowfat/ChangeLog,v
20 retrieving revision 1.33
21 retrieving revision 1.34
22 diff -u -r1.33 -r1.34
23 --- ChangeLog 22 Mar 2012 05:52:13 -0000 1.33
24 +++ ChangeLog 5 Nov 2012 06:52:33 -0000 1.34
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/libowfat
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/ChangeLog,v 1.33 2012/03/22 05:52:13 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/ChangeLog,v 1.34 2012/11/05 06:52:33 patrick Exp $
30 +
31 +*libowfat-0.29 (05 Nov 2012)
32 +
33 + 05 Nov 2012; Patrick Lauer <patrick@g.o> +libowfat-0.29.ebuild:
34 + Bump
35
36 22 Mar 2012; Patrick Lauer <patrick@g.o>
37 +files/libowfat-0.28-GNUmakefile.patch, libowfat-0.28-r1.ebuild:
38
39
40
41 1.1 dev-libs/libowfat/libowfat-0.29.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libowfat/libowfat-0.29.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libowfat/libowfat-0.29.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libowfat-0.29.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libowfat/libowfat-0.29.ebuild,v 1.1 2012/11/05 06:52:33 patrick Exp $
51
52 EAPI=2
53 inherit flag-o-matic toolchain-funcs eutils
54
55 DESCRIPTION="reimplement libdjb - excellent libraries from Dan Bernstein."
56 SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
57 HOMEPAGE="http://www.fefe.de/libowfat/"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~hppa ~sparc ~x86"
62 IUSE="diet"
63
64 RDEPEND="diet? ( >=dev-libs/dietlibc-0.33_pre20090721 )"
65 DEPEND="${RDEPEND}
66 >=sys-apps/sed-4"
67
68 pkg_setup() {
69 # Required for mult/umult64.c to be usable
70 append-flags -fomit-frame-pointer
71 }
72
73 src_prepare() {
74 sed -e "s:^CFLAGS.*:CFLAGS=-I. ${CFLAGS}:" \
75 -e "s:^DIET.*:DIET?=/usr/bin/diet -Os:" \
76 -e "s:^prefix.*:prefix=/usr:" \
77 -e "s:^INCLUDEDIR.*:INCLUDEDIR=\${prefix}/include/libowfat:" \
78 -i GNUmakefile || die "sed failed"
79 epatch "${FILESDIR}/libowfat-0.28-GNUmakefile.patch"
80 }
81
82 src_compile() {
83 emake -j1 \
84 CC=$(tc-getCC) \
85 $( use diet || echo 'DIET=' )
86 }
87
88 src_install () {
89 emake -j1 \
90 LIBDIR="${D}/usr/lib" \
91 MAN3DIR="${D}/usr/share/man/man3" \
92 INCLUDEDIR="${D}/usr/include/libowfat" \
93 install || die "emake install failed"
94
95 cd "${D}"/usr/share/man
96 mv man3/buffer.3 man3/owfat-buffer.3
97 }