/[gentoo-x86]/dev-libs/libuv/libuv-1.1.0.ebuild
Gentoo

Contents of /dev-libs/libuv/libuv-1.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Mar 5 05:28:48 2015 UTC (3 years, 7 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Restore version needed by nodejs

(Portage version: 2.2.18/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libuv/Attic/libuv-1.1.0.ebuild,v 1.2 2015/03/05 02:20:42 hasufell dead $
4
5 EAPI=5
6
7 inherit eutils autotools multilib-minimal
8
9 DESCRIPTION="A new platform layer for Node"
10 HOMEPAGE="https://github.com/joyent/libuv"
11 SRC_URI="https://github.com/libuv/libuv/archive/v${PV}.tar.gz -> ${P}.tar.gz"
12
13 LICENSE="BSD BSD-2 ISC MIT"
14 SLOT="0/1"
15 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
16 IUSE="static-libs"
17
18 DEPEND="virtual/pkgconfig"
19
20 src_prepare() {
21 echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
22 > m4/libuv-extra-automake-flags.m4 || die
23
24 sed -i \
25 -e '/libuv_la_CFLAGS/s#-g##' \
26 Makefile.am || die "fixing CFLAGS failed!"
27
28 eautoreconf
29 }
30
31 multilib_src_configure() {
32 ECONF_SOURCE="${S}" econf \
33 $(use_enable static-libs static)
34 }
35
36 multilib_src_test() {
37 mkdir "${BUILD_DIR}"/test || die
38 cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
39 default
40 }
41
42 multilib_src_install_all() {
43 einstalldocs
44 prune_libtool_files
45 }

  ViewVC Help
Powered by ViewVC 1.1.20