File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ function get_directory() {
139
139
* .tgz) directory=$( basename $1 .tgz) ;;
140
140
* .tar.bz2) directory=$( basename $1 .tar.bz2) ;;
141
141
* .tbz2) directory=$( basename $1 .tbz2) ;;
142
+ * .tar.xz) directory=$( basename $1 .tar.xz) ;;
142
143
* .zip) directory=$( basename $1 .zip) ;;
143
144
* )
144
145
error " Unknown file extension $1 "
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ VERSION_gnutls=3.3.16
4
+ URL_gnutls=ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-${VERSION_gnutls} .tar.xz
5
+ MD5_gnutls=
6
+ BUILD_gnutls=$BUILD_PATH /gnutls/$( get_directory $URL_gnutls )
7
+ RECIPE_gnutls=$RECIPES_PATH /gnutls
8
+
9
+ function prebuild_gnutls() {
10
+ true
11
+ }
12
+
13
+ function build_gnutls() {
14
+ cd $BUILD_gnutls
15
+ bash
16
+ push_arm
17
+ try ./configure --build=i686-pc-linux-gnu --host=arm-linux-eabi --prefix=$BUILD_gnutls /build/lib
18
+ try make install
19
+ pop_arm
20
+ }
21
+
22
+ function postbuild_gnutls() {
23
+ true
24
+ }
You can’t perform that action at this time.
0 commit comments