Line
Link Here
|
0 |
-- jffi-1.2.7-r2.ebuild |
0 |
++ jffi-1.2.8.ebuild |
Lines 1-16
Link Here
|
1 |
# Copyright 1999-2014 Gentoo Foundation |
1 |
# Copyright 1999-2015 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/dev-java/jffi/jffi-1.2.7-r2.ebuild,v 1.1 2014/11/17 09:09:28 ercpe Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI="5" |
5 |
EAPI="5" |
6 |
|
6 |
|
7 |
JAVA_PKG_IUSE="doc source test" |
7 |
JAVA_PKG_IUSE="doc source test" |
8 |
|
8 |
|
9 |
inherit eutils java-pkg-2 java-ant-2 versionator vcs-snapshot |
9 |
inherit eutils java-pkg-2 java-ant-2 versionator |
10 |
|
10 |
|
11 |
DESCRIPTION="An optimized Java interface to libffi" |
11 |
DESCRIPTION="An optimized Java interface to libffi" |
12 |
HOMEPAGE="https://github.com/jnr/jffi" |
12 |
HOMEPAGE="https://github.com/jnr/jffi" |
13 |
SRC_URI="https://github.com/jnr/jffi/tarball/${PV} -> ${P}.tar.gz" |
13 |
SRC_URI="https://github.com/jnr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
14 |
|
14 |
|
15 |
LICENSE="|| ( Apache-2.0 LGPL-3 )" |
15 |
LICENSE="|| ( Apache-2.0 LGPL-3 )" |
16 |
SLOT="1.2" |
16 |
SLOT="1.2" |
Lines 31-38
Link Here
|
31 |
|
31 |
|
32 |
java_prepare() { |
32 |
java_prepare() { |
33 |
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die |
33 |
cp "${FILESDIR}"/${PN}_maven-build.xml build.xml || die |
34 |
epatch "${FILESDIR}"/${P}-makefile.patch |
34 |
epatch "${FILESDIR}"/${PN}-1.2.8-makefile.patch |
35 |
epatch "${FILESDIR}"/${P}-junit-4.11.patch |
35 |
epatch "${FILESDIR}"/${PN}-1.2.7-junit-4.11.patch |
36 |
|
36 |
|
37 |
# misc fixes for Darwin |
37 |
# misc fixes for Darwin |
38 |
if [[ ${CHOST} == *-darwin* ]] ; then |
38 |
if [[ ${CHOST} == *-darwin* ]] ; then |