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
417fc6b3
Commit
417fc6b3
authored
1 year ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
community/lua-rapidjson: build with samurai
parent
a2daa4d3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
community/lua-rapidjson/APKBUILD
+3
-3
3 additions, 3 deletions
community/lua-rapidjson/APKBUILD
with
3 additions
and
3 deletions
community/lua-rapidjson/APKBUILD
+
3
−
3
View file @
417fc6b3
...
@@ -8,7 +8,7 @@ pkgdesc="A JSON module for Lua based on the very fast RapidJSON library"
...
@@ -8,7 +8,7 @@ pkgdesc="A JSON module for Lua based on the very fast RapidJSON library"
url
=
"https://github.com/xpol/lua-rapidjson"
url
=
"https://github.com/xpol/lua-rapidjson"
arch
=
"all"
arch
=
"all"
license
=
"MIT"
license
=
"MIT"
makedepends
=
"cmake rapidjson-dev"
makedepends
=
"cmake rapidjson-dev
samurai
"
checkdepends
=
"lua-busted"
checkdepends
=
"lua-busted"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/xpol/lua-rapidjson/archive/v
$pkgver
.tar.gz
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/xpol/lua-rapidjson/archive/v
$pkgver
.tar.gz
disable-c-cxx-flag-march.patch
disable-c-cxx-flag-march.patch
...
@@ -40,7 +40,7 @@ build() {
...
@@ -40,7 +40,7 @@ build() {
cd
"
$builddir
"
/build-
$lver
cd
"
$builddir
"
/build-
$lver
msg
"Building against Lua
$lver
..."
msg
"Building against Lua
$lver
..."
cmake ..
\
cmake ..
-G
Ninja
\
-DCMAKE_BUILD_TYPE
=
MinSizeRel
\
-DCMAKE_BUILD_TYPE
=
MinSizeRel
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
...
@@ -49,7 +49,7 @@ build() {
...
@@ -49,7 +49,7 @@ build() {
-DBUILD_SHARED_LIBS
=
ON
\
-DBUILD_SHARED_LIBS
=
ON
\
-DLUA_INCLUDE_DIR
=
"
$(
pkg-config
--variable
=
includedir lua
$lver
)
"
\
-DLUA_INCLUDE_DIR
=
"
$(
pkg-config
--variable
=
includedir lua
$lver
)
"
\
-DLUA_RAPIDJSON_VERSION
=
"
$pkgver
"
-DLUA_RAPIDJSON_VERSION
=
"
$pkgver
"
make
c
make
--build
.
done
done
}
}
...
...
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