Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
packages
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
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
APK Fission
packages
Commits
d03a52bd
Commit
d03a52bd
authored
2 years ago
by
Síle Ekaterin Liszka
Browse files
Options
Downloads
Patches
Plain Diff
main/libftdi1: new package
parent
f077bb23
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main/libftdi1/APKBUILD
+47
-0
47 additions, 0 deletions
main/libftdi1/APKBUILD
with
47 additions
and
0 deletions
main/libftdi1/APKBUILD
0 → 100644
+
47
−
0
View file @
d03a52bd
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname
=
libftdi1
pkgver
=
1.5
pkgrel
=
0
pkgdesc
=
"Library for working with FTDI chips"
url
=
"https://www.intra2net.com/en/developer/libftdi/"
arch
=
"all"
license
=
"LGPL-2.1+ AND LGPL-2.1-only AND MIT AND GPL-2.0-only"
depends
=
""
makedepends
=
"boost-dev cmake confuse-dev doxygen graphviz libusb-dev
python3-dev swig"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"https://www.intra2net.com/en/developer/libftdi/download/libftdi1-
$pkgver
.tar.bz2"
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
\
-DLIB_SUFFIX
=
""
\
-DBUILD_SHARED_LIBS
=
True
\
-DCMAKE_BUILD_TYPE
=
RelWithDebugInfo
\
-DCMAKE_CXX_FLAGS
=
"
$CXXFLAGS
"
\
-DCMAKE_C_FLAGS
=
"
$CFLAGS
"
\
${
CMAKE_CROSSOPTS
}
\
-Wno-dev
\
-DBUILD_TESTS
=
ON
\
-DDOCUMENTATION
=
ON
\
-DEXAMPLES
=
OFF
\
-DFTDIPP
=
ON
\
-DPYTHON_BINDINGS
=
ON
\
.
make
}
check
()
{
CTEST_OUTPUT_ON_FAILURE
=
TRUE ctest
}
package
()
{
make
DESTDIR
=
"
$pkgdir
"
install
}
sha512sums
=
"c525b2ab6aff9ef9254971ae7d57f3549a36a36875765c48f947d52532814a2a004de1232389d4fe824a8c8ab84277b08427308573476e1da9b7db83db802f6f libftdi1-1.5.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