You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
751 B

  1. #!/bin/sh
  2. if [ -e /usr/bin/apt-get ]; then
  3. apt-get -qy update
  4. apt-get -qy --no-install-suggests --no-install-recommends --force-yes \
  5. install \
  6. build-essential git g++ debhelper \
  7. python \
  8. automake libtool lsb-release
  9. elif [ -e /usr/bin/dnf ]; then
  10. dnf -y update
  11. dnf -y install \
  12. git rpm-build gcc-c++ make which python automake \
  13. libtool gettext-devel
  14. elif [ -e /usr/bin/yum ]; then
  15. yum -y update
  16. yum -y install \
  17. git rpm-build gcc-c++ make which \
  18. python python-argparse \
  19. automake libtool gettext-devel
  20. elif [ -e /sbin/apk ]; then
  21. apk add \
  22. abuild git gcc g++ make autoconf \
  23. automake libtool gettext-dev linux-headers
  24. fi