summaryrefslogtreecommitdiff
path: root/recipes/xfsprogs/libattr_2.4.43.bb
blob: 99890313f51d567def2c1665cfe64942f323ea52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "library functions to get attribute bits"
HOMEPAGE = "http://oss.sgi.com/projects/xfs"
LICENSE = "GPL"
SECTION = "base"
PR = "r0"
DEPENDS = "gettext"

SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/attr_${PV}-1.tar.gz"
S = "${WORKDIR}/attr-${PV}"

PARALLEL_MAKE = ""
inherit autotools
EXTRA_OECONF = "--enable-gettext=no --enable-shared=yes"

do_configure () {
	export LIBTOOL="${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool"
	export DEBUG="-DNDEBUG"
	oe_runconf
}

do_install () {
	export DIST_ROOT=${D}
	oe_runmake install
	oe_libinstall -a libattr ${D}${libdir}
	oe_libinstall -a libattr ${STAGING_LIBDIR}
}