diff options
Diffstat (limited to 'meta/recipes-support/attr/acl.inc')
-rw-r--r-- | meta/recipes-support/attr/acl.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc new file mode 100644 index 0000000000..68745dd728 --- /dev/null +++ b/meta/recipes-support/attr/acl.inc | |||
@@ -0,0 +1,26 @@ | |||
1 | DESCRIPTION = "utilities for access control list" | ||
2 | HOMEPAGE = "http://savannah.nongnu.org/projects/acl/" | ||
3 | SECTION = "libs" | ||
4 | |||
5 | LICENSE = "LGPLv2.1+ & GPLv2+" | ||
6 | LICENSE_${PN} = "GPLv2+" | ||
7 | LICENSE_lib${PN} = "LGPLv2.1+" | ||
8 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \ | ||
9 | file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" | ||
10 | |||
11 | DEPENDS = "attr" | ||
12 | SRC_URI = "http://mirror.cinquix.com/pub/savannah/acl/${BP}.src.tar.gz" | ||
13 | |||
14 | require ea-acl.inc | ||
15 | |||
16 | # avoid RPATH hardcode to staging dir | ||
17 | do_configure_append() { | ||
18 | sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\', | ||
19 | ${S}/config.status | ||
20 | } | ||
21 | |||
22 | # libdir should point to .la | ||
23 | do_install_append() { | ||
24 | sed -i ${D}${libdir}/libacl.la -e \ | ||
25 | s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', | ||
26 | } | ||