/[gentoo-x86]/net-libs/libs3/libs3-2.0-r1.ebuild
Gentoo

Contents of /net-libs/libs3/libs3-2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Nov 10 11:21:40 2012 UTC (6 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
net-libs/libs3: Drop Werror; do not strip files, #438416; respect CC; be verbose in build; support sane multilib; handle static libs

(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

1 jlec 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-libs/libs3/libs3-2.0.ebuild,v 1.2 2011/10/31 02:41:04 weaver Exp $
4    
5     EAPI=4
6    
7     inherit eutils multilib toolchain-funcs
8    
9     DESCRIPTION="A C Library API for Amazon S3"
10     HOMEPAGE="http://libs3.ischo.com.s3.amazonaws.com/index.html"
11     SRC_URI="http://libs3.ischo.com.s3.amazonaws.com/${P}.tar.gz"
12    
13     LICENSE="GPL-3"
14     SLOT="0"
15     KEYWORDS="~amd64 ~x86"
16     IUSE="static-libs"
17    
18     RDEPEND="
19     net-misc/curl
20     dev-libs/libxml2"
21     DEPEND="${RDEPEND}"
22    
23     src_prepare() {
24     epatch "${FILESDIR}"/${P}-build.patch
25     sed \
26     -e "s:/lib/:/$(get_libdir)/:g" \
27     -i *makefile* || die
28     tc-export CC
29     }
30    
31     src_install() {
32     emake DESTDIR="${ED}/usr" install
33     use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*a
34     }

  ViewVC Help
Powered by ViewVC 1.1.20