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
15b4cb0f
Commit
15b4cb0f
authored
2 years ago
by
rubicon
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/ocaml-bitstring: new aport
parent
62262de2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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-bitstring/APKBUILD
+71
-0
71 additions, 0 deletions
testing/ocaml-bitstring/APKBUILD
with
71 additions
and
0 deletions
testing/ocaml-bitstring/APKBUILD
0 → 100644
+
71
−
0
View file @
15b4cb0f
# Contributor: rubicon <rubicon@mailo.com>
# Maintainer:
pkgname
=
ocaml-bitstring
_pkgname
=
bitstring
pkgver
=
4.1.0
pkgrel
=
0
pkgdesc
=
"Erlang-style bitstrings for OCaml"
url
=
"https://github.com/xguerin/bitstring"
arch
=
"all !riscv64"
# restricted by ocaml
license
=
"LGPL-2.0-or-later"
depends
=
"ocaml-runtime"
depends_dev
=
"
$pkgname
=
$pkgver
-r
$pkgrel
"
makedepends
=
"
dune
ocaml
ocaml-compiler-libs
ocaml-compiler-libs-repackaged-dev
ocaml-ppxlib-dev
ocaml-ppx_derivers-dev
ocaml-sexplib0-dev
ocaml-stdlib-shims
"
options
=
"!check"
# needs oUnit
subpackages
=
"
$pkgname
-dev"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/xguerin/bitstring/archive/v
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
# 32-bit archs
case
"
$CARCH
"
in
arm
*
|
x86
)
options
=
"
$options
textrels"
;;
esac
build
()
{
export
OCAMLPATH
=
/usr/lib/ocaml
dune build
--root
.
@install
--no-buffer
--verbose
}
check
()
{
dune runtest
--no-buffer
--verbose
}
package
()
{
dune
install
\
--destdir
=
"
$pkgdir
"
\
--prefix
=
/usr
\
--libdir
=
/usr/lib/ocaml
rm
-Rf
"
$pkgdir
"
/usr/doc
}
dev
()
{
default_dev
cd
"
$pkgdir
"
local
path
;
for
path
in
$(
find usr/lib/ocaml
\(
\
-name
'*.cmt'
-o
\
-name
'*.cmti'
-o
\
-name
'*.cmx'
-o
\
-name
'*.cmxa'
-o
\
-name
'*.ml'
-o
\
-name
'*.mli'
\
\)
)
do
amove
"
$path
"
done
}
sha512sums
=
"
808c2f1e12286a0a346d52b0a72008e248a3ca0fd9f99b8db9f38929d25492bcb6e65ecb7e7339c23269dd948c51e5f0fc917b13adc0c497ea4d4e5c0ed7d250 ocaml-bitstring-4.1.0.tar.gz
"
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