Diff camldbm-1.0 with a camldbm-1.2

/usr/portage/dev-ml/camldbm/camldbm-1.2.ebuild 2023-10-09 14:52:29.784368358 +0300
6 6
inherit toolchain-funcs
7 7

  
8 8
DESCRIPTION="OCaml binding to the NDBM/GDBM Unix databases"
9
HOMEPAGE="http://forge.ocamlcore.org/projects/camldbm/"
10
SRC_URI="http://forge.ocamlcore.org/frs/download.php/728/${P}.tgz"
9
HOMEPAGE="https://github.com/ocaml/dbm"
10
SRC_URI="https://github.com/ocaml/dbm/archive/${P}.tar.gz"
11
S="${WORKDIR}/dbm-${P}"
11 12

  
12 13
LICENSE="LGPL-2-with-linking-exception"
13 14
SLOT="0/${PV}"
......
17 18
	>=dev-lang/ocaml-3.12:=[ocamlopt]"
18 19
RDEPEND="${DEPEND}"
19 20

  
20
PATCHES=(
21
	"${FILESDIR}/hasgotfix.patch"
22
	"${FILESDIR}/include_fix.patch"
21
QA_FLAGS_IGNORED=(
22
	/usr/'lib.*'/ocaml/dbm.cmxs
23
	/usr/'lib.*'/ocaml/stublibs/dllcamldbm.so
23 24
)
24 25

  
25 26
src_prepare() {
......
33 34
src_install() {
34 35
	dodir "$(ocamlc -where)/stublibs" # required and makefile does not create it
35 36
	emake LIBDIR="${D}/$(ocamlc -where)" install
36
	dodoc README Changelog
37 37
}
Thank you!