Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DESCRIPTION = "Autotooled lib"
- SECTION = "examples"
- LICENSE = "GPLv3"
- LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
- DEPENDS = " virtual/gettext"
- SRC_URI = "file://${PN}-${PV}.tar.gz"
- # By default EXTRA_OECONF is set to --disable-static ...
- # Let's get rid of this
- DISABLE_STATIC = ""
- EXTRA_OECONF := "${@oe_filter_out('--disable-static', '${EXTRA_OECONF}', d)}"
- # enable static and disable shared (for fun)
- EXTRA_OECONF += "--enable-static --disable-shared"
- # no main package here, since statically linked and not shared lib
- FILES_${PN}=""
- # no main package, by default -dev depends on main
- RDEPENDS_${PN}-dev = ""
- # made runtime dependency on -dev to we don't need to add both to image
- # but -staticdev is sufficient
- RDEPENDS_${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})"
- inherit autotools
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement