Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/attr: ChangeLog attr-2.4.39.ebuild
Date: Thu, 20 Sep 2007 12:10:37
Message-Id: E1IYG7F-0006pd-M9@stork.gentoo.org
1 vapier 07/09/20 07:06:25
2
3 Modified: ChangeLog
4 Added: attr-2.4.39.ebuild
5 Log:
6 Version bump #192647 and unset PLATFORM #184564.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.83 sys-apps/attr/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/attr/ChangeLog?rev=1.83&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/attr/ChangeLog?rev=1.83&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/attr/ChangeLog?r1=1.82&r2=1.83
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v
19 retrieving revision 1.82
20 retrieving revision 1.83
21 diff -u -r1.82 -r1.83
22 --- ChangeLog 13 Jun 2007 23:34:07 -0000 1.82
23 +++ ChangeLog 20 Sep 2007 07:06:25 -0000 1.83
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/attr
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.82 2007/06/13 23:34:07 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/ChangeLog,v 1.83 2007/09/20 07:06:25 vapier Exp $
29 +
30 +*attr-2.4.39 (20 Sep 2007)
31 +
32 + 20 Sep 2007; Mike Frysinger <vapier@g.o>
33 + +files/attr-2.4.39-gettext.patch, +attr-2.4.39.ebuild:
34 + Version bump #192647 and unset PLATFORM #184564.
35
36 13 Jun 2007; Mike Frysinger <vapier@g.o>
37 +files/attr-2.4.38-LDFLAGS.patch, attr-2.4.38.ebuild:
38
39
40
41 1.1 sys-apps/attr/attr-2.4.39.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/attr/attr-2.4.39.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/attr/attr-2.4.39.ebuild?rev=1.1&content-type=text/plain
45
46 Index: attr-2.4.39.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.39.ebuild,v 1.1 2007/09/20 07:06:25 vapier Exp $
51
52 inherit eutils autotools toolchain-funcs
53
54 MY_P="${PN}_${PV}-1"
55 DESCRIPTION="Extended attributes tools"
56 HOMEPAGE="http://oss.sgi.com/projects/xfs/"
57 SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz
58 ftp://xfs.org/mirror/SGI/cmd_tars/${MY_P}.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
63 IUSE="nls"
64
65 DEPEND="nls? ( sys-devel/gettext )
66 sys-devel/autoconf"
67 RDEPEND=""
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${FILESDIR}"/${PN}-2.4.39-gettext.patch
73 epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch
74 sed -i \
75 -e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
76 -e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
77 include/builddefs.in \
78 || die "failed to update builddefs"
79 AT_M4DIR="m4" eautoreconf
80 }
81
82 src_compile() {
83 unset PLATFORM #184564
84 export OPTIMIZER=${CFLAGS}
85 export DEBUG=-DNDEBUG
86
87 econf \
88 $(use_enable nls gettext) \
89 --libexecdir=/usr/$(get_libdir) \
90 --bindir=/bin \
91 || die
92 emake || die
93 }
94
95 src_install() {
96 emake DIST_ROOT="${D}" install install-lib install-dev || die
97 # the man-pages packages provides the man2 files
98 rm -r "${D}"/usr/share/man/man2
99 prepalldocs
100
101 # move shared libs to /
102 dodir /$(get_libdir)
103 mv "${D}"/usr/$(get_libdir)/libattr.so* "${D}"/$(get_libdir)/ || die
104 gen_usr_ldscript libattr.so
105 }
106
107
108
109 --
110 gentoo-commits@g.o mailing list