Advertisement
RobertBerger

.a (approach 1)

Feb 7th, 2018
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. DESCRIPTION = "Autotooled lib"
  2. SECTION = "examples"
  3. LICENSE = "GPLv3"
  4. LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
  5.  
  6. DEPENDS = " virtual/gettext"
  7.  
  8. SRC_URI = "file://${PN}-${PV}.tar.gz"
  9.  
  10. # By default EXTRA_OECONF is set to --disable-static ...
  11. # Let's get rid of this
  12. DISABLE_STATIC = ""
  13. EXTRA_OECONF := "${@oe_filter_out('--disable-static', '${EXTRA_OECONF}', d)}"
  14. # enable static and disable shared (for fun)
  15. EXTRA_OECONF += "--enable-static --disable-shared"
  16.  
  17. # no main package here, since statically linked and not shared lib
  18. FILES_${PN}=""
  19.  
  20. # no main package, by default -dev depends on main
  21. RDEPENDS_${PN}-dev = ""
  22.  
  23. # made runtime dependency on -dev to we don't need to add both to image
  24. # but -staticdev is sufficient
  25. RDEPENDS_${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})"
  26.  
  27. inherit autotools
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement