New ebuild for xraylib
Added myeconfargs so the USE flags actually affect the compilation
The tag name is xraylib-${PV}, so the overall name is xraylib-xraylib-${PV}.

Changing ${S} accordingly
Ideas from autotools-utils.eclass manpage
Add java-pkg-opt-2 inherit: repoman is now happy
Using eautoreconf in src_prepare
Added fortran-2 eclass, tweaked python stuff
Workaround for parallel compilation bug with fortran

Also Doh! on use_enable not use-enable!
Apparently php and ruby bindings are only in master, not in 2.16.0
Change log is called Changelog not ChangeLog
Using AUTOTOOLS_AUTORECONF=true instead of src_prepare
Specifying FORTRAN_STANDARD=2003
Added support for installing examples

Removed cxx USE flag because I don't think C++ is optional
Moved AUTOTOOLS_* to before inherit statement
Adding src_prepare again
Don't compress examples
Switched to python-single-r1

It seems that support for python 3 has only been added since the 2.16.0 release
Explicitly calling python-single pkg_setup
Explicitly calling relevant pkg_* functions from other eclasses
Apparently also java has parallel build issues

See https://github.com/tschoonj/xraylib/issues/11