Skip to content

Commit 14839fc

Browse files
committed
Add libtribler recipe.
1 parent 782c32d commit 14839fc

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

recipes/libtribler/recipe.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
DEPS_libtribler=(kivy python openssl m2crypto twisted sqlite3 pyasn1 apsw cherrypy netifaces libtorrent libnacl libsodium pil plyvel requests)
3+
BUILD_libtribler=$BUILD_PATH/libtribler/tribler-git
4+
RECIPE_libtribler=$RECIPES_PATH/libtribler
5+
6+
function prebuild_libtribler() {
7+
8+
# Clone repo so all submodules are included:
9+
cd $BUILD_PATH/libtribler
10+
git clone --recursive https://github.com/tribler/tribler.git tribler-git
11+
12+
}
13+
14+
function build_libtribler() {
15+
cd $BUILD_libtribler
16+
push_arm
17+
try $HOSTPYTHON setup.py install
18+
pop_arm
19+
}
20+
21+
function postbuild_libtribler() {
22+
true
23+
}

0 commit comments

Comments
 (0)