Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Add build deps and packages deps for libusb/libcurl/pkgconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
spoonincode committed Feb 1, 2019
1 parent 588fdb9 commit 793adde
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 7 deletions.
5 changes: 3 additions & 2 deletions scripts/eosio_build_amazon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,12 @@
if [[ "${OS_NAME}" == "Amazon Linux AMI" ]]; then
DEP_ARRAY=( git gcc72.x86_64 gcc72-c++.x86_64 autoconf automake libtool make bzip2 \
bzip2-devel.x86_64 openssl-devel.x86_64 gmp-devel.x86_64 libstdc++72.x86_64 \
python27.x86_64 python36-devel.x86_64 libedit-devel.x86_64 doxygen.x86_64 graphviz.x86_64)
python27.x86_64 python36-devel.x86_64 libedit-devel.x86_64 doxygen.x86_64 graphviz.x86_64
libusb1-devel libcurl-devel)
else
DEP_ARRAY=( git gcc gcc-c++ autoconf automake libtool make bzip2 \
bzip2-devel openssl-devel gmp-devel libstdc++ \
python3 python3-devel libedit-devel doxygen graphviz)
python3 python3-devel libedit-devel doxygen graphviz libusbx-devel libcurl-devel)
fi
COUNT=1
DISPLAY=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/eosio_build_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@

DEP_ARRAY=( git autoconf automake bzip2 libtool ocaml.x86_64 doxygen graphviz-devel.x86_64 \
libicu-devel.x86_64 bzip2.x86_64 bzip2-devel.x86_64 openssl-devel.x86_64 gmp-devel.x86_64 \
python-devel.x86_64 gettext-devel.x86_64)
python-devel.x86_64 gettext-devel.x86_64 libusbx-devel libcurl-devel)
COUNT=1
DISPLAY=""
DEP=""
Expand Down
2 changes: 2 additions & 0 deletions scripts/eosio_build_dep
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ MongoDB,-x,/usr/local/opt/mongodb/bin/mongod,mongodb,https://fastdl.mongodb.org/
Doxygen,-x,/usr/local/bin/doxygen,doxygen,http://ftp.stack.nl/pub/users/dimitri/doxygen-1.8.14.src.tar.gz
Graphviz,-x,/usr/local/bin/dot,graphviz,https://graphviz.gitlab.io/pub/graphviz/stable/SOURCES/graphviz.tar.gz
LCOV,-f,/usr/local/bin/lcov,lcov,http://downloads.sourceforge.net/ltp/lcov-1.13.tar.gz
libusb,-f,/usr/local/lib/libusb-1.0.0.dylib,libusb,https://github.com/libusb/libusb/releases/download/v1.0.22/libusb-1.0.22.tar.bz2
pkgconfig,-x,/usr/local/bin/pkg-config,pkgconfig,https://pkg-config.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
2 changes: 1 addition & 1 deletion scripts/eosio_build_fedora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
DEP_ARRAY=( git gcc.x86_64 gcc-c++.x86_64 autoconf automake libtool make cmake.x86_64 \
bzip2.x86_64 bzip2-devel.x86_64 openssl-devel.x86_64 gmp-devel.x86_64 libstdc++-devel.x86_64 \
python2-devel.x86_64 python3-devel.x86_64 mongodb.x86_64 mongodb-server.x86_64 libedit.x86_64 \
graphviz.x86_64 doxygen.x86_64 )
graphviz.x86_64 doxygen.x86_64 libcurl-devel libusb-devel)
COUNT=1
DISPLAY=""
DEP=""
Expand Down
2 changes: 1 addition & 1 deletion scripts/eosio_build_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

DEP_ARRAY=(clang-4.0 lldb-4.0 libclang-4.0-dev cmake make automake libbz2-dev libssl-dev \
libgmp3-dev autotools-dev build-essential libicu-dev python2.7-dev python3-dev \
autoconf libtool curl zlib1g-dev doxygen graphviz)
autoconf libtool curl zlib1g-dev doxygen graphviz libusb-1.0-0-dev libcurl4-gnutls-dev pkg-config)
COUNT=1
DISPLAY=""
DEP=""
Expand Down
1 change: 1 addition & 0 deletions scripts/generate_bottle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ echo "class Eosio < Formula
depends_on \"gettext\"
depends_on \"openssl\"
depends_on \"gmp\"
depends_on \"libusb\"
depends_on :xcode
depends_on :macos => :high_sierra
depends_on :arch => :intel
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ echo "Package: ${PROJECT}
Version: ${VERSION_NO_SUFFIX}-${RELEASE}
Section: devel
Priority: optional
Depends: libc6, libgcc1, ${LIBSSL}, libstdc++6, libtinfo5, zlib1g
Depends: libc6, libgcc1, ${LIBSSL}, libstdc++6, libtinfo5, zlib1g, libusb-1.0, libcurl3-gnutls
Architecture: amd64
Homepage: ${URL}
Maintainer: ${EMAIL}
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate_rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Version: ${VERSION_NO_SUFFIX}
License: MIT
Vendor: ${VENDOR}
Source: ${URL}
Requires: openssl-devel, gmp-devel, libstdc++-devel, bzip2, bzip2-devel, mongodb, mongodb-server
Requires: openssl-devel, gmp-devel, libstdc++-devel, bzip2, bzip2-devel, mongodb, mongodb-server, libusbx, libcurl
URL: ${URL}
Packager: ${VENDOR} <${EMAIL}>
Summary: ${DESC}
Expand Down

0 comments on commit 793adde

Please sign in to comment.