libsdl2-net_2.0.1.bb 853 B

123456789101112131415161718192021222324252627
  1. DESCRIPTION = "Simple DirectMedia Layer networking library."
  2. SECTION = "libs/network"
  3. LICENSE = "Zlib"
  4. LIC_FILES_CHKSUM = "file://COPYING.txt;md5=fe9d52a78585a65224776875510ed127"
  5. SRC_URI = " \
  6. https://www.libsdl.org/projects/SDL_net/release/SDL2_net-${PV}.tar.gz \
  7. "
  8. S = "${WORKDIR}/SDL2_net-${PV}"
  9. inherit autotools pkgconfig
  10. DEPENDS = "virtual/libsdl2"
  11. SRC_URI[md5sum] = "5c1d9d1cfa63301b141cb5c0de2ea7c4"
  12. SRC_URI[sha256sum] = "15ce8a7e5a23dafe8177c8df6e6c79b6749a03fff1e8196742d3571657609d21"
  13. do_configure_prepend() {
  14. # create dummy files which autotools consider as mandatory
  15. touch ${S}/NEWS ${S}/README ${S}/AUTHORS ${S}/ChangeLog
  16. # Remove old libtool macros.
  17. for macro in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
  18. echo ${S}/acinclude/macro
  19. rm -f ${S}/acinclude/$macro
  20. done
  21. }