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
3ddba342
Commit
3ddba342
authored
2 years ago
by
rubicon
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/ocaml-pcre: new aport
needed by ocamlnet and ocaml-mikmatch
parent
f3d98911
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-pcre/APKBUILD
+61
-0
61 additions, 0 deletions
testing/ocaml-pcre/APKBUILD
with
61 additions
and
0 deletions
testing/ocaml-pcre/APKBUILD
0 → 100644
+
61
−
0
View file @
3ddba342
# Contributor: rubicon <rubicon@mailo.com>
# Maintainer:
pkgname
=
ocaml-pcre
_pkgname
=
pcre
pkgver
=
7.5.0
pkgrel
=
0
pkgdesc
=
"OCaml bindings to the Perl Compatibility Regular Expressions (PCRE) library"
url
=
"https://mmottl.github.io/pcre-ocaml"
arch
=
"all !riscv64"
# restricted by ocaml
license
=
"LGPL-2.1-or-later-WITH-linking-exception"
depends
=
"ocaml-runtime"
depends_dev
=
"
$pkgname
=
$pkgver
-r
$pkgrel
"
makedepends
=
"dune dune-configurator-dev ocaml ocaml-csexp-dev pcre-dev"
subpackages
=
"
$pkgname
-dev"
source
=
"
$pkgname
-
$pkgver
.tar.bz2::https://github.com/mmottl/pcre-ocaml/releases/download/
$pkgver
/pcre-
$pkgver
.tbz"
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
=
"
be60f13ddb6bbfe20e30ca5d92434d85e1d1371479e1e2c725588af83fcc9366ed0435021b6a800c20336ac521f2134c767420136438684656a44ac1f9924be4 ocaml-pcre-7.5.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