1 DESCRIPTION
= "XFS Filesystem Utilities"
2 HOMEPAGE
= "http://oss.sgi.com/projects/xfs"
5 DEPENDS
= "util-linux-ng"
8 SRC_URI
= "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz"
9 SRC_URI
[md5sum
] = "86d10178ee6897cb099c97303e6d9da0"
10 SRC_URI
[sha256sum
] = "9128046ea978a65560b0e87406af9646a283fa0b54eab1801b971d8a89086ddd"
14 EXTRA_OECONF
= "--enable-gettext=no"
15 LIBTOOL
= "${HOST_SYS}-libtool"
16 EXTRA_OEMAKE
= "'LIBTOOL=${LIBTOOL}'"
17 TARGET_CC_ARCH
+= "${LDFLAGS}"
19 FILES_$
{PN
}-dev
+= "${base_libdir}/libhandle.la \
20 ${base_libdir}/libhandle.so"
23 export DEBUG
="-DNDEBUG"
31 oe_runmake install
-dev
32 #
replace extra links
to /usr
/lib with relative links
(otherwise autotools_prepackage_lamangler fails
to read nonexistent link
)
33 rm
-f $
{D
}/$
{base_libdir
}/libhandle.la
34 rm
-f $
{D
}/$
{base_libdir
}/libhandle.a
35 ln
-s ..
/usr
/lib
/libhandle.la $
{D
}/$
{base_libdir
}/libhandle.la
36 ln
-s ..
/usr
/lib
/libhandle.a $
{D
}/$
{base_libdir
}/libhandle.a
38 #
and link from
/usr
/lib
/libhandle.so
to /lib
/libhandle.so
39 rm
-f $
{D
}/$
{libdir
}/libhandle.so
40 ln
-s ..
/..
/lib
/libhandle.a $
{D
}/$
{libdir
}/libhandle.so