EAPI=5
+inherit subversion
+
DESCRIPTION="Exact arithmetics library intended for exact geometric computations"
HOMEPAGE="http://cs.nyu.edu/exact/core_pages/"
-SRC_URI="http://cs.nyu.edu/exact/core/download/core/${P}.std.tgz -> ${P}.tgz"
+
+# The "old style downloads" are no longer maintained
+ESVN_REPO_URI="https://subversive.cims.nyu.edu/exact/corelib2/trunk"
+ESVN_USER="guest"
+ESVN_PASSWORD="guest"
+ESVN_OPTIONS="--depth immediates"
+
+case ${PV} in
+ 9999)
+ ;;
+ *)
+ ESVN_REVISION=${PR}
+ ;;
+esac
LICENSE="QPL"
SLOT="0"
src_install() {
-
+
dolib.a lib/libcore*.a
if use shared; then
dolib.so lib/libcore*.so
docinto papers
dodoc doc/papers/*
-
+
docinto html
dodoc doc/doxy/html/*
fi