Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
55aba74e
Commit
55aba74e
authored
2 years ago
by
rubicon
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/ocaml-uucp: new aport
parent
a4c7201a
Loading
Loading
1 merge request
!34403
testing/ocaml-*: upgrade Reason ML, add OCamlnet and LablGtk3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/ocaml-uucp/APKBUILD
+72
-0
72 additions, 0 deletions
testing/ocaml-uucp/APKBUILD
with
72 additions
and
0 deletions
testing/ocaml-uucp/APKBUILD
0 → 100644
+
72
−
0
View file @
55aba74e
# Contributor: rubicon <rubicon@mailo.com>
# Maintainer:
pkgname
=
ocaml-uucp
_pkgname
=
uucp
pkgver
=
14.0.0
pkgrel
=
0
pkgdesc
=
"Unicode character properties for OCaml"
url
=
"https://erratique.ch/software/uucp"
# limited by riscv64: ocaml, ppc64le: ocaml-uunf
arch
=
"all !riscv64 !ppc64le"
license
=
"ISC"
depends
=
"ocaml-runtime"
depends_dev
=
"
$pkgname
=
$pkgver
-r
$pkgrel
"
makedepends
=
"
ocaml
ocaml-compiler-libs
ocaml-findlib
ocamlbuild
ocaml-topkg
ocaml-uucd-dev
ocaml-uunf-dev
ocaml-uutf-dev
ocaml-cmdliner-dev
cmd:opam-installer
"
options
=
"!check"
# no tests provided
subpackages
=
"
$pkgname
-dev"
source
=
"
$pkgname
-
$pkgver
.tar.bz2::https://erratique.ch/software/uucp/releases/uucp-
$pkgver
.tbz"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
_ocamldir
=
usr/lib/ocaml
# 32-bit archs
case
"
$CARCH
"
in
arm
*
|
x86
)
options
=
"
$options
textrels"
;;
esac
build
()
{
ocaml pkg/pkg.ml build
\
--with-uutf
true
\
--with-uunf
true
\
--with-cmdliner
true
}
package
()
{
opam-installer
-i
\
--prefix
=
"
$pkgdir
/usr"
\
--libdir
=
"
$pkgdir
/
$_ocamldir
"
\
--docdir
=
"
$builddir
/.omit"
\
$_pkgname
.install
}
dev
()
{
default_dev
cd
"
$pkgdir
"
local
path
;
for
path
in
$(
find
$_ocamldir
\(
\
-name
'*.cmt'
-o
\
-name
'*.cmti'
-o
\
-name
'*.cmx'
-o
\
-name
'*.cmxa'
-o
\
-name
'*.ml'
-o
\
-name
'*.mli'
\
\)
)
do
amove
"
$path
"
done
}
sha512sums
=
"
2d0224aed5d5accbb121624898f08598e8c74a2415942f159a54221c0cdac62ed64fc70a039c833e50110cefce77754ada9ac2d58f79a6fc9331135326fe6899 ocaml-uucp-14.0.0.tar.bz2
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment