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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Michael Pirogov
aports
Commits
1ec9ef99
Unverified
Commit
1ec9ef99
authored
5 years ago
by
Pete Dietl
Committed by
TBK
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/libfort: new aport
Closes: GH-8027
parent
156a6876
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/libfort/APKBUILD
+39
-0
39 additions, 0 deletions
testing/libfort/APKBUILD
with
39 additions
and
0 deletions
testing/libfort/APKBUILD
0 → 100644
+
39
−
0
View file @
1ec9ef99
# Maintainer: Pete Dietl <petedietl@gmail.com>
pkgname
=
libfort
pkgver
=
0.1.4
pkgrel
=
0
pkgdesc
=
"A simple crossplatform library to create formatted text tables."
url
=
"https://github.com/seleznevae/libfort"
arch
=
"all"
license
=
"MIT"
makedepends
=
"cmake"
subpackages
=
"
$pkgname
-dev"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://codeload.github.com/seleznevae/libfort/tar.gz/v
$pkgver
"
build
()
{
mkdir
build
&&
cd
build
if
[
"
$CBUILD
"
!=
"
$CHOST
"
]
;
then
CMAKE_CROSSOPTS
=
"-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake ..
\
-DCMAKE_INSTALL_PREFIX
=
/usr
\
-DCMAKE_INSTALL_LIBDIR
=
lib
\
-DBUILD_SHARED_LIBS
=
ON
\
-DCMAKE_BUILD_TYPE
=
Release
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
${
CMAKE_CROSSOPTS
}
make
}
check
()
{
cd
build
make
test
}
package
()
{
cd
build
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"f812a26713933de52a1c808d88e050dce4c325cc2cc042ad0c368d7ddcb94344ee6f77c77fb063e3ee6ff6765865207ab8a788351f59e725b7b1ea4da4a428a5 libfort-0.1.4.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