Diff cfortran-20110621 with a cfortran-20210827

/usr/portage/dev-lang/cfortran/cfortran-20210827.ebuild 2023-10-09 14:52:29.452368349 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
9 9

  
10 10
DEB_PR="1"
11 11

  
12
# https://github.com/bastien-roucaries/cfortran is for the Debian fork
12 13
DESCRIPTION="Header file allowing to call Fortran routines from C and C++"
13
HOMEPAGE="https://www-zeus.desy.de/~burow/cfortran/"
14
SRC_URI="
15
	mirror://debian/pool/main/c/${PN}/${PN}_${PV}.orig.tar.gz
16
	mirror://debian/pool/main/c/${PN}/${PN}_${PV}-${DEB_PR}.debian.tar.xz"
14
HOMEPAGE="https://www-zeus.desy.de/~burow/cfortran/ https://github.com/bastien-roucaries/cfortran"
15
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}.orig.tar.gz"
16
SRC_URI+=" mirror://debian/pool/main/c/${PN}/${PN}_${PV}-${DEB_PR}.debian.tar.xz"
17 17

  
18
SLOT="0"
19 18
LICENSE="LGPL-2"
20
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
19
SLOT="0"
20
KEYWORDS="~alpha amd64 ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
21 21
IUSE="examples test"
22

  
23 22
RESTRICT="!test? ( test )"
24 23

  
25
DOCS=( cfortran.doc )
26

  
27 24
src_prepare() {
28
	eapply "${WORKDIR}"/debian/patches/*.patch
29 25
	default
26

  
27
	if [[ -d "${WORKDIR}"/debian/patches ]] ; then
28
		eapply "${WORKDIR}"/debian/patches/
29
	fi
30

  
30 31
	eautoreconf
31 32

  
32 33
	if use examples; then
......
52 53

  
53 54
	docinto debian
54 55
	dodoc "${WORKDIR}"/debian/{NEWS,changelog,copyright}
55
	docinto html
56
	dodoc cfortran.html index.htm
57 56

  
58 57
	if use examples; then
59 58
		docinto examples
Thank you!