diff options
| -rw-r--r-- | meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb index 3830887295..3bc489742a 100644 --- a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb +++ b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | DESCRIPTION = "XFS Filesystem Utilities" | 1 | DESCRIPTION = "XFS Filesystem Utilities" |
| 2 | HOMEPAGE = "http://oss.sgi.com/projects/xfs" | 2 | HOMEPAGE = "http://oss.sgi.com/projects/xfs" |
| 3 | SECTION = "base" | 3 | SECTION = "base" |
| 4 | LICENSE = "LGPL2.1" | 4 | LICENSE = "GPLv2" |
| 5 | 5 | LICENSE_libhandle = "LGPLv2.1" | |
| 6 | LIC_FILES_CHKSUM = "file://Makefile;endline=3;md5=def2844770bb44eba37bc9ca8610fad4" | 6 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=dbdb5f4329b7e7145de650e9ecd4ac2a" |
| 7 | |||
| 8 | DEPENDS = "util-linux" | 7 | DEPENDS = "util-linux" |
| 8 | PR = "r1" | ||
| 9 | 9 | ||
| 10 | SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz \ | 10 | SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz \ |
| 11 | file://remove-install-as-user.patch \ | 11 | file://remove-install-as-user.patch \ |
| @@ -15,8 +15,13 @@ SRC_URI[sha256sum] = "e150914210ac5fd29c098ef0fd94bdec51d2fb231cf9faa765c16ec6d7 | |||
| 15 | 15 | ||
| 16 | inherit autotools | 16 | inherit autotools |
| 17 | 17 | ||
| 18 | FILES_${PN}-dev += "${base_libdir}/libhandle.la \ | 18 | PACKAGES =+ "${PN}-fsck ${PN}-mkfs libhandle" |
| 19 | ${base_libdir}/libhandle.so" | 19 | |
| 20 | RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs" | ||
| 21 | |||
| 22 | FILES_${PN}-fsck = "${base_sbindir}/fsck.xfs" | ||
| 23 | FILES_${PN}-mkfs = "${base_sbindir}/mkfs.xfs" | ||
| 24 | FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}" | ||
| 20 | 25 | ||
| 21 | EXTRA_OECONF = "--enable-gettext=no" | 26 | EXTRA_OECONF = "--enable-gettext=no" |
| 22 | do_configure () { | 27 | do_configure () { |
| @@ -34,13 +39,9 @@ do_install () { | |||
| 34 | oe_runmake install | 39 | oe_runmake install |
| 35 | # needed for xfsdump | 40 | # needed for xfsdump |
| 36 | oe_runmake install-dev | 41 | oe_runmake install-dev |
| 37 | # replace extra links to /usr/lib with relative links (otherwise autotools_prepackage_lamangler fails to read nonexistent link) | 42 | rm ${D}${base_libdir}/libhandle.a |
| 38 | rm -f ${D}/${base_libdir}/libhandle.la | 43 | rm ${D}${base_libdir}/libhandle.la |
| 39 | rm -f ${D}/${base_libdir}/libhandle.a | 44 | rm ${D}${base_libdir}/libhandle.so |
| 40 | ln -s ../usr/lib/libhandle.la ${D}/${base_libdir}/libhandle.la | 45 | rm ${D}${libdir}/libhandle.so |
| 41 | ln -s ../usr/lib/libhandle.a ${D}/${base_libdir}/libhandle.a | 46 | ln -s ../..${base_libdir}/libhandle.so.1 ${D}${libdir}/libhandle.so |
| 42 | |||
| 43 | # and link from /usr/lib/libhandle.so to /lib/libhandle.so | ||
| 44 | rm -f ${D}/${libdir}/libhandle.so | ||
| 45 | ln -s ../../lib/libhandle.a ${D}/${libdir}/libhandle.so | ||
| 46 | } | 47 | } |
