summaryrefslogtreecommitdiff
path: root/meta/packages/attr
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-07-29 18:43:55 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-06 22:21:48 +0100
commit0025bbb903f6c4c30540d7b2d6a54d90645ca514 (patch)
tree2fda89914556e964f6e3fe98da74be7867cd22df /meta/packages/attr
parent607709f78d1910ee0ba5ac1dcc74deb3feb1b90a (diff)
downloadopenembedded-core-0025bbb903f6c4c30540d7b2d6a54d90645ca514.tar.gz
openembedded-core-0025bbb903f6c4c30540d7b2d6a54d90645ca514.tar.bz2
openembedded-core-0025bbb903f6c4c30540d7b2d6a54d90645ca514.zip
acl: add new package
version 2.2.49 - reuse attr build system include file - the default build will add attr's rpath into libacl.so, a hack is used here to prevent that hardcode. The hack is ugly but simple, without the need to do considerable autoconf hacks. An alternative approach is to use chrpath, but it doesn't have support for multilib thus not usable in its current state. - manual fix to .la Singed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/attr')
-rw-r--r--meta/packages/attr/acl.inc26
-rw-r--r--meta/packages/attr/acl_2.2.49.bb3
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/attr/acl.inc b/meta/packages/attr/acl.inc
new file mode 100644
index 0000000000..68745dd728
--- /dev/null
+++ b/meta/packages/attr/acl.inc
@@ -0,0 +1,26 @@
+DESCRIPTION = "utilities for access control list"
+HOMEPAGE = "http://savannah.nongnu.org/projects/acl/"
+SECTION = "libs"
+
+LICENSE = "LGPLv2.1+ & GPLv2+"
+LICENSE_${PN} = "GPLv2+"
+LICENSE_lib${PN} = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
+ file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"
+
+DEPENDS = "attr"
+SRC_URI = "http://mirror.cinquix.com/pub/savannah/acl/${BP}.src.tar.gz"
+
+require ea-acl.inc
+
+# avoid RPATH hardcode to staging dir
+do_configure_append() {
+ sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\',
+ ${S}/config.status
+}
+
+# libdir should point to .la
+do_install_append() {
+ sed -i ${D}${libdir}/libacl.la -e \
+ s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',
+}
diff --git a/meta/packages/attr/acl_2.2.49.bb b/meta/packages/attr/acl_2.2.49.bb
new file mode 100644
index 0000000000..e5d5509de1
--- /dev/null
+++ b/meta/packages/attr/acl_2.2.49.bb
@@ -0,0 +1,3 @@
+require acl.inc
+
+PR = "r0"