Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-backup/dar: ChangeLog dar-2.4.2.ebuild
Date: Sun, 04 Dec 2011 01:11:34
Message-Id: 20111204011123.0A8612004B@flycatcher.gentoo.org
1 matsuu 11/12/04 01:11:23
2
3 Modified: ChangeLog
4 Added: dar-2.4.2.ebuild
5 Log:
6 Version bumped, bug #387501.
7
8 (Portage version: 2.1.10.29/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.43 app-backup/dar/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/dar/ChangeLog?rev=1.43&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/dar/ChangeLog?rev=1.43&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/dar/ChangeLog?r1=1.42&r2=1.43
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-backup/dar/ChangeLog,v
20 retrieving revision 1.42
21 retrieving revision 1.43
22 diff -u -r1.42 -r1.43
23 --- ChangeLog 7 Jun 2011 23:34:19 -0000 1.42
24 +++ ChangeLog 4 Dec 2011 01:11:22 -0000 1.43
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-backup/dar
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-backup/dar/ChangeLog,v 1.42 2011/06/07 23:34:19 matsuu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-backup/dar/ChangeLog,v 1.43 2011/12/04 01:11:22 matsuu Exp $
30 +
31 +*dar-2.4.2 (04 Dec 2011)
32 +
33 + 04 Dec 2011; MATSUU Takuto <matsuu@g.o> +dar-2.4.2.ebuild:
34 + Version bumped, bug #387501.
35
36 *dar-2.4.0 (07 Jun 2011)
37
38
39
40
41 1.1 app-backup/dar/dar-2.4.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/dar/dar-2.4.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/dar/dar-2.4.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dar-2.4.2.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-backup/dar/dar-2.4.2.ebuild,v 1.1 2011/12/04 01:11:22 matsuu Exp $
51
52 EAPI="3"
53 inherit confutils eutils flag-o-matic
54
55 DESCRIPTION="A full featured backup tool, aimed for disks (floppy,CDR(W),DVDR(W),zip,jazz etc.)"
56 HOMEPAGE="http://dar.linux.free.fr/"
57 SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
62 IUSE="acl dar32 dar64 doc gcrypt lzo nls static static-libs"
63
64 RESTRICT="test" # need to be run as root
65
66 RDEPEND=">=sys-libs/zlib-1.2.3
67 >=app-arch/bzip2-1.0.2
68 acl? (
69 static? ( sys-apps/attr[static-libs] )
70 !static? ( sys-apps/attr )
71 )
72 gcrypt? ( dev-libs/libgcrypt )
73 lzo? ( dev-libs/lzo )
74 nls? ( virtual/libintl )"
75 DEPEND="${RDEPEND}
76 nls? ( sys-devel/gettext )
77 doc? ( app-doc/doxygen )"
78
79 pkg_setup() {
80 confutils_use_conflict dar32 dar64
81 }
82
83 src_configure() {
84 local myconf="--disable-upx"
85
86 # Bug 103741
87 filter-flags -fomit-frame-pointer
88
89 use acl || myconf="${myconf} --disable-ea-support"
90 use dar32 && myconf="${myconf} --enable-mode=32"
91 use dar64 && myconf="${myconf} --enable-mode=64"
92 use doc || myconf="${myconf} --disable-build-html"
93 # use examples && myconf="${myconf} --enable-examples"
94 use gcrypt || myconf="${myconf} --disable-libgcrypt-linking"
95 use lzo || myconf="${myconf} --disable-liblzo2-linking"
96 use nls || myconf="${myconf} --disable-nls"
97 if ! use static ; then
98 myconf="${myconf} --disable-dar-static"
99 if ! use static-libs ; then
100 myconf="${myconf} --disable-static"
101 fi
102 fi
103
104 econf ${myconf} || die
105 }
106
107 src_install() {
108 emake DESTDIR="${D}" pkgdatadir=/usr/share/doc/${PF}/html install || die
109
110 if ! use static-libs ; then
111 find "${ED}" "(" -name '*.la' -o -name '*.a' ")" -delete || die
112 fi
113
114 dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die
115 }