Lines Matching +full:- +full:- +full:disable +full:- +full:zstd
3 set -eu
5 set -x
7 # : ${OPKG_LIBS:="-llzma -lldap -llber -lz -pthread"}
8 : ${OPKG_LIBS:="-lz -pthread -lzstd"}
11 echo "$@" | sha256sum | awk '{ printf "build-opkg-%s", $1 }'
15 rm -f build-opkg-*
20 [ -f libarchive-3.5.2.tar.gz ] || wget http://libarchive.org/downloads/libarchive-3.5.2.tar.gz
21 [ -d libarchive-3.5.2 ] || tar -xvf libarchive-3.5.2.tar.gz
22 cd libarchive-3.5.2
24 --without-zlib \
25 --without-bz2lib \
26 --without-libb2 \
27 --without-lz4 \
28 --without-lzo2 \
29 --without-cng \
30 --without-nettle \
31 --without-xml2 \
32 --without-expat \
33 --with-zstd \
34 --disable-acl \
35 --disable-xattr \
36 --enable-posix-regex-lib=libc \
37 --disable-rpath \
38 --disable-bsdcat \
39 --disable-bsdtar \
40 --disable-bsdcpio \
41 --with-pic"
43 [ -f $LIBARCHIVE_ID ] || ( ./configure $LIBARCHIVE_OPTS && mark_configured $LIBARCHIVE_ID )
44 mkdir -p root && make -j$(nproc) install DESTDIR=$(realpath root)
48 [ -f curl-7.79.1.tar.bz2 ] || wget https://curl.haxx.se/download/curl-7.79.1.tar.bz2
49 [ -d curl-7.79.1 ] || tar -xvf curl-7.79.1.tar.bz2
50 cd curl-7.79.1
51 CURL_OPTS=--with-openssl
53 [ -f $CURL_ID ] || ( ./configure $CURL_OPTS && mark_configured $CURL_ID )
54 mkdir -p root && make -j$(nproc) install DESTDIR=$(realpath root)
58 [ -f opkg-0.6.3.tar.gz ] || wget http://downloads.yoctoproject.org/releases/opkg/opkg-0.6.3.tar.gz
59 [ -d opkg-0.6.3 ] || tar -xvf opkg-0.6.3.tar.gz
60 cd opkg-0.6.3
62 --with-static-libopkg \
63 --without-libsolv \
64 --enable-curl \
65 --enable-openssl \
66 --enable-zstd \
67 --disable-gpg \
68 --disable-dependency-tracking"
70 [ -f $OPKG_ID ] || ( \
72 …PKG_CONFIG_PATH=$(realpath ../libarchive-3.5.2/root/usr/local/lib/pkgconfig/):$(realpath ../curl-7…
73 CURL_CFLAGS=-I$(realpath ../curl-7.79.1/root/usr/local/include/) \
74 CURL_LIBS=$(realpath ../curl-7.79.1/root/usr/local/lib/libcurl.a) \
75 LIBARCHIVE_CFLAGS=-I$(realpath ../libarchive-3.5.2/root/usr/local/include/) \
76 LIBARCHIVE_LIBS=$(realpath ../libarchive-3.5.2/root/usr/local/lib/libarchive.a) \
80 make -j$(nproc)