blob: 7ec54eb16e155a7e93102a6c604fa1e716dae0b2 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "user and group account administration library"
2DESCRIPTION = "The libuser library implements a standardized interface for manipulating and administering user \
3and group accounts"
Brad Bishop37a0e4d2017-12-04 01:01:44 -05004HOMEPAGE = "https://pagure.io/libuser"
5BUGTRACKER = "https://pagure.io/libuser/issues"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05006
7LICENSE = "LGPLv2"
8LIC_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
12SECTION = "base"
13
Brad Bishop37a0e4d2017-12-04 01:01:44 -050014SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.xz \
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050015 file://0001-Check-for-issetugid.patch \
16 file://0002-remove-unused-execinfo.h.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060017 file://0001-modules-files.c-parse_field-fix-string-formating-in-.patch \
18 "
Patrick Williamsc124f4f2015-09-15 14:41:29 -050019
20SRC_URI[md5sum] = "63e5e5c551e99dc5302b40b80bd6d4f2"
21SRC_URI[sha256sum] = "a58ff4fabb01a25043b142185a33eeea961109dd60d4b40b6a9df4fa3cace20b"
22
Brad Bishop6e60e8b2018-02-01 10:27:11 -050023DEPENDS = "popt libpam glib-2.0 python3"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050024
Brad Bishop316dfdd2018-06-25 12:45:53 -040025inherit distro_features_check
26REQUIRED_DISTRO_FEATURES = "pam"
27
Patrick Williamsc0f7c042017-02-23 20:41:17 -060028inherit autotools gettext python3native python3-dir pkgconfig gtk-doc
Patrick Williamsc124f4f2015-09-15 14:41:29 -050029
Patrick Williamsc0f7c042017-02-23 20:41:17 -060030EXTRA_OEMAKE = "PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031
32PACKAGES += "${PN}-python "
33
Patrick Williamsc124f4f2015-09-15 14:41:29 -050034FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
35