Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=413911d38d2db5d045bcd8ee405afb3a0fec15ca
commit 413911d38d2db5d045bcd8ee405afb3a0fec15ca Author: DeX77 <de...@frugalware.org> Date: Mon Aug 7 16:32:17 2017 +0200 ocaml-topkg-0.9.0-1-x86_64 * new package diff --git a/source/devel-extra/ocaml-topkg/FrugalBuild b/source/devel-extra/ocaml-topkg/FrugalBuild new file mode 100644 index 0000000..33f5247 --- /dev/null +++ b/source/devel-extra/ocaml-topkg/FrugalBuild @@ -0,0 +1,27 @@ +# Compiling Time: 0.06 SBU +# Maintainer: DeX77 <de...@frugalware.org> + +pkgname=ocaml-topkg +pkgver=0.9.0 +pkgrel=1 +pkgdesc="A packager for distributing OCaml software" +url="http://erratique.ch/software/topkg/" +archs=('x86_64') +groups=('devel-extra') +depends=('ocaml') +makedepends=('ocaml-findlib' 'ocaml-result' 'ocamlbuild' 'opam') +_F_archive_name="topkg" +up2date="Flastarchive $url .tbz" +source=("$url/releases/topkg-${pkgver}.tbz") +sha1sums=('e9a8af20c3f25813dc7069d98ff9a26373381ad6') + +build() { + Fexec tar -xjvf "topkg-${pkgver}.tbz" || Fdie + + Fcd + Fexec pkg/pkg.ml build --pkg-name topkg || Fdie + + Fexec opam-installer --prefix="${Fdestdir}/usr" \ + --libdir="${Fdestdir}$(ocamlc -where)" \ + --docdir="${Fdestdir}/usr/share/doc" +} _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git