The bin_package
class is a
helper class for recipes that extract the contents of a binary package
(e.g. an RPM) and install those contents rather than building the
binary from source.
The binary package is extracted and new packages in the configured
output package format are created.
Extraction and installation of proprietary binaries is a good example
use for this class.
${BP}
is used so that
the files are extracted into the subdirectory expected by the
default value of
S
:
SRC_URI = "http://example.com/downloads/somepackage.rpm;subdir=${BP}"