Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adélie Linux
Adélie Package Tree
Commits
39934dd7
Verified
Commit
39934dd7
authored
6 years ago
by
Anna Wilcox
Browse files
Options
Downloads
Patches
Plain Diff
user/gtest: pull in, fix
parent
6aa71e26
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
user/gtest/APKBUILD
+46
-0
46 additions, 0 deletions
user/gtest/APKBUILD
with
46 additions
and
0 deletions
user/gtest/APKBUILD
0 → 100644
+
46
−
0
View file @
39934dd7
# Maintainer:
pkgname
=
gtest
pkgver
=
1.8.0
pkgrel
=
3
pkgdesc
=
"C++ testing framework based on xUnit (like JUnit)"
url
=
"https://github.com/google/googletest"
arch
=
"all"
options
=
"!check"
# No test suite.
license
=
"BSD-3-Clause"
depends
=
"libgcc bash"
depends_dev
=
"python3 cmake"
makedepends
=
"
$depends_dev
"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"https://github.com/google/googletest/archive/release-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
"
/googletest-release-
${
pkgver
}
build
()
{
cd
"
$builddir
"
rm
-rf
build
mkdir
build
cd
build
cmake
-DBUILD_SHARED_LIBS
=
ON
\
-DCMAKE_SKIP_RPATH
=
ON ../
make
}
package
()
{
cd
"
$builddir
"
for
dir
in
usr/lib usr/include/gtest/internal/custom usr/share/licenses/gtest
\
usr/src/gtest/cmake usr/src/gtest/src
;
do
install
-d
-m
0755
"
$pkgdir
"
/
"
$dir
"
done
install
-m
0644 build/googlemock/gtest/libgtest
*
.so
"
$pkgdir
"
/usr/lib
install
-m
0644 googletest/include/gtest/
*
.h
"
$pkgdir
"
/usr/include/gtest
install
-m
0644 googletest/include/gtest/internal/
*
.h
\
"
$pkgdir
"
/usr/include/gtest/internal/
install
-m
0644 googletest/include/gtest/internal/custom/
*
.h
\
"
$pkgdir
"
/usr/include/gtest/internal/custom/
install
-m
0644 googletest/LICENSE
"
$pkgdir
"
/usr/share/licenses/
$pkgname
/
install
-m
0644 googletest/CMakeLists.txt
"
$pkgdir
"
/usr/src/gtest/
install
-m
0644 googletest/cmake/
*
"
$pkgdir
"
/usr/src/gtest/cmake/
}
sha512sums
=
"1dbece324473e53a83a60601b02c92c089f5d314761351974e097b2cf4d24af4296f9eb8653b6b03b1e363d9c5f793897acae1f0c7ac40149216035c4d395d9d release-1.8.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