xref: /openbmc/openbmc/poky/meta/recipes-devtools/chrpath/chrpath_0.18.bb (revision 8460358c3d24c71d9d38fd126c745854a6301564)
1*8460358cSPatrick WilliamsSUMMARY = "Tool to edit rpath in ELF binaries"
2*8460358cSPatrick WilliamsDESCRIPTION = "chrpath allows you to change the rpath (where the \
3*8460358cSPatrick Williamsapplication looks for libraries) in an application. It does not \
4*8460358cSPatrick Williams(yet) allow you to add an rpath if there isn't one already."
5*8460358cSPatrick WilliamsHOMEPAGE = "https://tracker.debian.org/pkg/chrpath"
6*8460358cSPatrick WilliamsLICENSE = "GPL-2.0-only"
7*8460358cSPatrick WilliamsLIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
8*8460358cSPatrick Williams
9*8460358cSPatrick WilliamsSRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
10*8460358cSPatrick Williams           file://standarddoc.patch"
11*8460358cSPatrick Williams
12*8460358cSPatrick WilliamsSRC_URI[sha256sum] = "f09c49f0618660ca11fc6d9580ddde904c7224d4c6d0f6f2d1f9bcdc9102c9aa"
13*8460358cSPatrick Williams
14*8460358cSPatrick Williamsinherit autotools
15*8460358cSPatrick WilliamsS = "${WORKDIR}/chrpath"
16*8460358cSPatrick Williams
17*8460358cSPatrick Williams# We don't have a staged chrpath-native for ensuring our binary is
18*8460358cSPatrick Williams# relocatable, so use the one we've just built
19*8460358cSPatrick WilliamsCHRPATH_BIN:class-native = "${B}/chrpath"
20*8460358cSPatrick Williams
21*8460358cSPatrick WilliamsPROVIDES:append:class-native = " chrpath-replacement-native"
22*8460358cSPatrick WilliamsNATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
23*8460358cSPatrick Williams
24*8460358cSPatrick WilliamsBBCLASSEXTEND = "native nativesdk"
25