Skip to content

Commit bf2cc02

Browse files
author
gabriel pettier
committed
add nettle dep for gnutls, add gnutls as dep for recipe
1 parent 108f421 commit bf2cc02

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

recipes/gnutls/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

33
VERSION_gnutls=3.3.16
4+
DEPS_gnutls=(nettle)
45
URL_gnutls=ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-${VERSION_gnutls}.tar.xz
5-
MD5_gnutls=
66
BUILD_gnutls=$BUILD_PATH/gnutls/$(get_directory $URL_gnutls)
77
RECIPE_gnutls=$RECIPES_PATH/gnutls
88

recipes/nettle/recipe.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
VERSION_nettle=2.7.1
4+
URL_nettle=https://ftp.gnu.org/gnu/nettle/nettle-${VERSION_nettle}.tar.gz
5+
BUILD_nettle=$BUILD_PATH/nettle/$(get_directory $URL_nettle)
6+
RECIPE_nettle=$RECIPES_PATH/nettle
7+
8+
function prebuild_nettle() {
9+
true
10+
}
11+
12+
function build_nettle() {
13+
cd $BUILD_nettle
14+
push_arm
15+
bash
16+
try ./configure --build=i686-pc-linux-gnu --host=arm-linux-eabi --prefix=$BUILD_nettle/build/
17+
try make install
18+
libtool --finish $BUILD_nettle/build/
19+
pop_arm
20+
}
21+
22+
function postbuild_nettle() {
23+
true
24+
}

recipes/task/recipe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
VERSION_task=${VERSION_task:-2.4.4}
44
URL_task=http://taskwarrior.org/download/task-${VERSION_task}.tar.gz
55

6-
DEPS_task=(libuuid) # gnutls
6+
DEPS_task=(libuuid gnutls) # gnutls
77
sha1_task=e7e1336ed099f672b3d5971d6a221b72ed804ac6
88
BUILD_task=$BUILD_PATH/task/$(get_directory $URL_task)
99
RECIPE_task=$RECIPES_PATH/task

0 commit comments

Comments
 (0)