p≡p engine
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.

31 lines
922 B

  1. #!/usr/bin/env sh
  2. set -exo
  3. ### YML2
  4. cd $INSTPREFIX
  5. curl -O "https://gitea.pep.foundation/fdik/yml2/archive/${YML2_VERSION}.tar.gz"
  6. tar -xf "${YML2_VERSION}.tar.gz"
  7. rm -f ${YML2_VERSION}.tar*
  8. ### libetpan
  9. git clone https://gitea.pep.foundation/pEp.foundation/libetpan $BUILDROOT/libetpan
  10. cd $BUILDROOT/libetpan
  11. test -f configure || NOCONFIGURE=absolutely ./autogen.sh
  12. ./configure --prefix=${INSTPREFIX}/libetpan \
  13. --without-openssl --without-gnutls --without-sasl \
  14. --without-curl --without-expat --without-zlib \
  15. --disable-dependency-tracking
  16. make -j$(nproc)
  17. make install
  18. echo "${libetpan_ver}">${INSTPREFIX}/libetpan.ver
  19. ### ASN1c
  20. git clone https://github.com/vlm/asn1c.git $BUILDROOT/asn1c
  21. cd $BUILDROOT/asn1c
  22. git checkout tags/v0.9.28 -b pep-engine
  23. test -f configure || autoreconf -iv
  24. ./configure --prefix=${INSTPREFIX}/asn1c
  25. make -j$(nproc) && make install
  26. echo "${asn1c_ver}">${INSTPREFIX}/asn1c.ver