Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Henrik Riomar
aports
Commits
231f7cf8
Commit
231f7cf8
authored
Nov 23, 2019
by
Holger Jaekel
Committed by
Leo
Dec 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/xerces-c: enable on all platforms
parent
15e88811
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
17 deletions
+28
-17
testing/xerces-c/APKBUILD
testing/xerces-c/APKBUILD
+28
-17
No files found.
testing/xerces-c/APKBUILD
View file @
231f7cf8
...
...
@@ -2,33 +2,44 @@
# Maintainer: Andrew Bell <andrew.bell.ia@gmail.com>
pkgname
=
xerces-c
pkgver
=
3.2.2
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"A validating XML parser written in a portable subset of C++"
url
=
"https://xerces.apache.org/index.html"
arch
=
"
x86 x86_64
"
arch
=
"
all
"
license
=
"Apache-2.0"
makedepends
=
"
cmake
linux-headers
"
cmake
curl-dev
icu-dev
"
subpackages
=
"
$pkgname
-samples
$pkgname
-doc
$pkgname
-dev"
_pkgver
=
${
pkgver
//./_
}
_srcname
=
"Xerces-C_
$
{
_pkgver
}
"
source
=
"https://github.com/apache/xerces-c/archive/
$
{
_srcname
}
.tar.gz"
_srcname
=
"Xerces-C_
$
_pkgver
"
source
=
"https://github.com/apache/xerces-c/archive/
$
_srcname
.tar.gz"
builddir
=
"
$srcdir
/
$pkgname
-
$_srcname
"
build
()
{
mkdir
build
&&
cd
build
cmake ..
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DCMAKE_BUILD_TYPE
=
Release
make
mkdir
build
&&
cd
build
local
thread_support
=
-Dthreads
:BOOL
=
ON
case
"
$CARCH
"
in
s390x
)
thread_support
=
-Dthreads
:BOOL
=
OFF
;;
esac
cmake ..
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DCMAKE_INSTALL_PREFIX
=
"
$pkgdir
"
/usr
\
$thread_support
\
-Dnetwork-accessor
=
curl
\
-Dmessage-loader
=
icu
\
-Dtranscoder
=
icu
cmake
--build
.
}
package
()
{
cd
"
$builddir
"
/build
make
DESTDIR
=
"
$pkgdir
"
install
cd
"
$builddir
"
/build
cmake
--build
.
--target
install
--config
Release
}
samples
()
{
...
...
@@ -39,7 +50,7 @@ samples() {
}
check
()
{
cd
"
$builddir
"
/build
make
test
cd
"
$builddir
"
/build
c
test
}
sha512sums
=
"66f60fe9194376ac0ca99d13ea5bce23ada86e0261dde30686c21ceb5499e754dab8eb0a98adadd83522bda62709377715501f6dac49763e3a686f9171cc63ea Xerces-C_3_2_2.tar.gz"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment