File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[codespell]
22skip = */config.guess,*.diff,*.patch
3+ ignore-words-list = LIEF, lief
Original file line number Diff line number Diff line change 1+ inherit : [cmake, python3]
2+
3+ metaEnvironment :
4+ PKG_VERSION : " 0.17.1"
5+
6+ checkoutSCM :
7+ scm : url
8+ url : ${GITHUB_MIRROR}/lief-project/LIEF/archive/refs/tags/${PKG_VERSION}.tar.gz
9+ digestSHA256 : 9dea0f09c7b98e8d0c9a47f8629fbd1646ddc9bf1cae7c2f4ce42fe8934dc315
10+ stripComponents : 1
11+
12+ buildScript : |
13+ cmakeBuild -m pyLIEF $1 \
14+ -DCMAKE_BUILD_TYPE=Release \
15+ -DLIEF_PYTHON_API=on \
16+ -DLIEF_USE_CCACHE=off \
17+ -DLIEF_EXAMPLES=off \
18+ -DCMAKE_FIND_ROOT_PATH="/"
19+
20+ mkdir -p install/${PYTHON3_DESTLIB}/site-packages/lief
21+ cp build/api/python/_lief.so install/${PYTHON3_DESTLIB}/site-packages/lief/
22+ echo "from ._lief import *" > install/${PYTHON3_DESTLIB}/site-packages/lief/__init__.py
23+
24+ multiPackage :
25+ libLIEF :
26+ multiPackage :
27+ dev :
28+ packageScript : cmakePackageDev
29+ tgt :
30+ packageScript : cmakePackageLib
31+ python :
32+ depends :
33+ - name : devel::lief-libLIEF-tgt
34+ use : []
35+ packageScript : |
36+ mkdir -p usr/lib
37+ rsync -a --delete $1/install/usr/lib/python* usr/lib/
You can’t perform that action at this time.
0 commit comments