Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13] helo=TX2EHSOBE005.bigfish.com) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RbO0q-0004Fx-ML for openembedded-devel@lists.openembedded.org; Fri, 16 Dec 2011 03:59:08 +0100 Received: from mail35-tx2-R.bigfish.com (10.9.14.245) by TX2EHSOBE005.bigfish.com (10.9.40.25) with Microsoft SMTP Server id 14.1.225.23; Fri, 16 Dec 2011 02:37:06 +0000 Received: from mail35-tx2 (localhost [127.0.0.1]) by mail35-tx2-R.bigfish.com (Postfix) with ESMTP id BAAF85C0442 for ; Fri, 16 Dec 2011 02:37:13 +0000 (UTC) X-SpamScore: 1 X-BigFish: VS1(zzzz1202hzz8275bhz2dh2a8h668h839hb79i62h) X-Spam-TCS-SCL: 1:0 X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI Received: from mail35-tx2 (localhost.localdomain [127.0.0.1]) by mail35-tx2 (MessageSwitch) id 1324003033553011_31067; Fri, 16 Dec 2011 02:37:13 +0000 (UTC) Received: from TX2EHSMHS027.bigfish.com (unknown [10.9.14.252]) by mail35-tx2.bigfish.com (Postfix) with ESMTP id 79FEC3C0048 for ; Fri, 16 Dec 2011 02:37:13 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS027.bigfish.com (10.9.99.127) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 16 Dec 2011 02:37:04 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server id 14.1.355.3; Thu, 15 Dec 2011 20:37:03 -0600 Received: from localhost.localdomain (bjsimics-desktop-010192208197.ap.freescale.net [10.192.208.197]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id pBG2alj5009971; Thu, 15 Dec 2011 20:37:01 -0600 (CST) From: To: Date: Fri, 16 Dec 2011 10:39:33 +0800 Message-ID: <1324003173-13994-9-git-send-email-b19537@freescale.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1324003173-13994-1-git-send-email-b19537@freescale.com> References: <1324003173-13994-1-git-send-email-b19537@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [PATCH meta-oe 9/9] xfsprogs: add X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 02:59:09 -0000 Content-Type: text/plain From: Zhenhua Luo xfsprogs provides XFS filesystem utilities. Signed-off-by: Zhenhua Luo --- meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb | 43 ++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) create mode 100644 meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb diff --git a/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb new file mode 100644 index 0000000..07644ac --- /dev/null +++ b/meta-oe/recipes-support/xfsprogs/xfsprogs_3.1.7.bb @@ -0,0 +1,43 @@ +DESCRIPTION = "XFS Filesystem Utilities" +HOMEPAGE = "http://oss.sgi.com/projects/xfs" +LICENSE = "GPL" +SECTION = "base" +DEPENDS = "util-linux" + +LIC_FILES_CHKSUM = "file://Makefile;endline=3;md5=def2844770bb44eba37bc9ca8610fad4" + +SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz" +SRC_URI[md5sum] = "049cf9873794ea49d0bb3f12d45748a4" +SRC_URI[sha256sum] = "e150914210ac5fd29c098ef0fd94bdec51d2fb231cf9faa765c16ec6d75c8eaa" + +PARALLEL_MAKE = "" +inherit autotools +EXTRA_OECONF = "--enable-gettext=no" +LIBTOOL = "${HOST_SYS}-libtool" +EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" +TARGET_CC_ARCH += "${LDFLAGS}" + +FILES_${PN}-dev += "${base_libdir}/libhandle.la \ + ${base_libdir}/libhandle.so" + +do_configure () { + export DEBUG="-DNDEBUG" + oe_runconf +} + +do_install () { + export DIST_ROOT=${D} + oe_runmake install + # needed for xfsdump + oe_runmake install-dev + # replace extra links to /usr/lib with relative links (otherwise autotools_prepackage_lamangler fails to read nonexistent link) + rm -f ${D}/${base_libdir}/libhandle.la + rm -f ${D}/${base_libdir}/libhandle.a + ln -s ../usr/lib/libhandle.la ${D}/${base_libdir}/libhandle.la + ln -s ../usr/lib/libhandle.a ${D}/${base_libdir}/libhandle.a + + # and link from /usr/lib/libhandle.so to /lib/libhandle.so + rm -f ${D}/${libdir}/libhandle.so + ln -s ../../lib/libhandle.a ${D}/${libdir}/libhandle.so +} + -- 1.7.0.4