diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-extended/libuser | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-extended/libuser')
-rw-r--r-- | meta/recipes-extended/libuser/libuser/fixsepbuild.patch | 35 | ||||
-rw-r--r-- | meta/recipes-extended/libuser/libuser_0.60.bb | 30 |
2 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-extended/libuser/libuser/fixsepbuild.patch b/meta/recipes-extended/libuser/libuser/fixsepbuild.patch new file mode 100644 index 0000000000..893ca1490b --- /dev/null +++ b/meta/recipes-extended/libuser/libuser/fixsepbuild.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | Fix out of tree build errors and parallel make issues. The mkdir commands | ||
2 | can race each other. The srcdir variable is a complete path so a ../ prefix makes | ||
3 | no sense. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | RP 2013/03/21 | ||
8 | |||
9 | Index: libuser-0.58/docs/Makefile.am | ||
10 | =================================================================== | ||
11 | --- libuser-0.58.orig/docs/Makefile.am 2012-11-07 18:25:58.000000000 -0800 | ||
12 | +++ libuser-0.58/docs/Makefile.am 2013-03-22 23:32:06.843518069 -0700 | ||
13 | @@ -8,14 +8,14 @@ | ||
14 | |||
15 | all: sgml/libuser.txt sgml/libuser.html | ||
16 | |||
17 | -libuser.conf.5: $(srcdir)/libuser.conf.5.in Makefile | ||
18 | +libuser.conf.5: $(abs_srcdir)/libuser.conf.5.in Makefile | ||
19 | sed 's,@sysconfdir\@,$(sysconfdir),g' \ | ||
20 | - < $(srcdir)/libuser.conf.5.in > $@ | ||
21 | + < $(abs_srcdir)/libuser.conf.5.in > $@ | ||
22 | |||
23 | -sgml/libuser.txt: $(srcdir)/sgml/libuser.sgml | ||
24 | - [ -d sgml ] || mkdir sgml | ||
25 | - cd sgml; sgml2txt ../$(srcdir)/sgml/libuser.sgml | ||
26 | +sgml/libuser.txt: $(abs_srcdir)/sgml/libuser.sgml | ||
27 | + [ -d sgml ] || mkdir sgml || true | ||
28 | + cd sgml; sgml2txt $(abs_srcdir)/sgml/libuser.sgml | ||
29 | |||
30 | -sgml/libuser.html: $(srcdir)/sgml/libuser.sgml | ||
31 | - [ -d sgml ] || mkdir sgml | ||
32 | - cd sgml; sgml2html ../$(srcdir)/sgml/libuser.sgml | ||
33 | +sgml/libuser.html: $(abs_srcdir)/sgml/libuser.sgml | ||
34 | + [ -d sgml ] || mkdir sgml || true | ||
35 | + cd sgml; sgml2html $(abs_srcdir)/sgml/libuser.sgml | ||
diff --git a/meta/recipes-extended/libuser/libuser_0.60.bb b/meta/recipes-extended/libuser/libuser_0.60.bb new file mode 100644 index 0000000000..e6316ef488 --- /dev/null +++ b/meta/recipes-extended/libuser/libuser_0.60.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | SUMMARY = "user and group account administration library" | ||
2 | DESCRIPTION = "The libuser library implements a standardized interface for manipulating and administering user \ | ||
3 | and group accounts" | ||
4 | HOMEPAGE = "https://fedorahosted.org/libuser/" | ||
5 | BUGTRACKER = "https://fedorahosted.org/libuser/newticket" | ||
6 | |||
7 | LICENSE = "LGPLv2" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
9 | file://lib/user.h;endline=19;md5=76b301f63c39fa992062395efbdc9558 \ | ||
10 | file://samples/testuser.c;endline=19;md5=3b87fa660fa3f4a6bb31d624afe30ba1" | ||
11 | |||
12 | SECTION = "base" | ||
13 | |||
14 | SRC_URI = "https://fedorahosted.org/releases/l/i/libuser/libuser-${PV}.tar.xz \ | ||
15 | file://fixsepbuild.patch" | ||
16 | |||
17 | SRC_URI[md5sum] = "5c549724999ccca65ceaaecc4eb8cb98" | ||
18 | SRC_URI[sha256sum] = "b1f73408ebfee79eb01a47c5879a2cdef6a00b75ee24870de7df1b816ff483eb" | ||
19 | |||
20 | DEPENDS = "popt libpam glib-2.0 xz-native docbook-utils-native linuxdoc-tools-native python" | ||
21 | |||
22 | inherit autotools gettext pythonnative python-dir pkgconfig | ||
23 | |||
24 | EXTRA_OEMAKE = "PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR}" | ||
25 | |||
26 | PACKAGES += "${PN}-python " | ||
27 | |||
28 | FILES_${PN}-dbg += "${PYTHON_SITEPACKAGES_DIR}/.debug" | ||
29 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" | ||
30 | |||