xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/chrpath/chrpath_0.16.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Tool to edit rpath in ELF binaries"
2*4882a593SmuzhiyunDESCRIPTION = "chrpath allows you to change the rpath (where the \
3*4882a593Smuzhiyunapplication looks for libraries) in an application. It does not \
4*4882a593Smuzhiyun(yet) allow you to add an rpath if there isn't one already."
5*4882a593SmuzhiyunHOMEPAGE = "https://tracker.debian.org/pkg/chrpath"
6*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
7*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunSRC_URI = "${DEBIAN_MIRROR}/main/c/${BPN}/${BPN}_${PV}.orig.tar.gz \
10*4882a593Smuzhiyun           file://standarddoc.patch"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSRC_URI[md5sum] = "2bf8d1d1ee345fc8a7915576f5649982"
13*4882a593SmuzhiyunSRC_URI[sha256sum] = "bb0d4c54bac2990e1bdf8132f2c9477ae752859d523e141e72b3b11a12c26e7b"
14*4882a593Smuzhiyun
15*4882a593Smuzhiyuninherit autotools
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun# We don't have a staged chrpath-native for ensuring our binary is
18*4882a593Smuzhiyun# relocatable, so use the one we've just built
19*4882a593SmuzhiyunCHRPATH_BIN:class-native = "${B}/chrpath"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunPROVIDES:append:class-native = " chrpath-replacement-native"
22*4882a593SmuzhiyunNATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
25