Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 292840 | Differences between
and this patch

Collapse All | Expand All

(-)attr-2.4.43.ebuild (-19 / +10 lines)
Lines 1-14 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2010 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-apps/attr/attr-2.4.43.ebuild,v 1.8 2009/03/14 12:31:23 vapier Exp $
3
# $Header: $
4
4
5
inherit eutils autotools toolchain-funcs
5
EAPI=2
6
7
inherit eutils toolchain-funcs
6
8
7
MY_P="${PN}_${PV}-1"
8
DESCRIPTION="Extended attributes tools"
9
DESCRIPTION="Extended attributes tools"
9
HOMEPAGE="http://oss.sgi.com/projects/xfs/"
10
HOMEPAGE="http://savannah.nongnu.org/projects/attr"
10
SRC_URI="ftp://oss.sgi.com/projects/xfs/download/cmd_tars/${MY_P}.tar.gz
11
SRC_URI="mirror://nongnu/${PN}/${P}.src.tar.gz"
11
	ftp://xfs.org/mirror/SGI/cmd_tars/${MY_P}.tar.gz"
12
12
13
LICENSE="LGPL-2.1"
13
LICENSE="LGPL-2.1"
14
SLOT="0"
14
SLOT="0"
Lines 19-43 DEPEND="nls? ( sys-devel/gettext ) Link Here
19
	sys-devel/autoconf"
19
	sys-devel/autoconf"
20
RDEPEND=""
20
RDEPEND=""
21
21
22
src_unpack() {
22
src_prepare() {
23
	unpack ${A}
23
	epatch "${FILESDIR}"/${PN}-2.4.44-gettext.patch
24
	cd "${S}"
25
	epatch "${FILESDIR}"/${PN}-2.4.39-gettext.patch
26
	epatch "${FILESDIR}"/${PN}-2.4.43-linguas.patch #205948
27
	epatch "${FILESDIR}"/${PN}-2.4.24-only-symlink-when-needed.patch
28
	sed -i \
24
	sed -i \
29
		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
25
		-e "/^PKG_DOC_DIR/s:@pkg_name@:${PF}:" \
30
		-e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
26
		-e '/HAVE_ZIPPED_MANPAGES/s:=.*:=false:' \
31
		include/builddefs.in \
27
		include/builddefs.in \
32
		|| die "failed to update builddefs"
28
		|| die "failed to update builddefs"
33
	# libtool will clobber install-sh which is really a custom file
34
	mv install-sh acl.install-sh || die
35
	AT_M4DIR="m4" eautoreconf
36
	mv acl.install-sh install-sh || die
37
	strip-linguas po
29
	strip-linguas po
38
}
30
}
39
31
40
src_compile() {
32
src_configure() {
41
	unset PLATFORM #184564
33
	unset PLATFORM #184564
42
	export OPTIMIZER=${CFLAGS}
34
	export OPTIMIZER=${CFLAGS}
43
	export DEBUG=-DNDEBUG
35
	export DEBUG=-DNDEBUG
Lines 47-53 src_compile() { Link Here
47
		--libexecdir=/usr/$(get_libdir) \
39
		--libexecdir=/usr/$(get_libdir) \
48
		--bindir=/bin \
40
		--bindir=/bin \
49
		|| die
41
		|| die
50
	emake || die
51
}
42
}
52
43
53
src_install() {
44
src_install() {

Return to bug 292840