Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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" |
Brad Bishop | 37a0e4d | 2017-12-04 01:01:44 -0500 | [diff] [blame] | 4 | HOMEPAGE = "https://pagure.io/libuser" |
| 5 | BUGTRACKER = "https://pagure.io/libuser/issues" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 | |
Brad Bishop | 37a0e4d | 2017-12-04 01:01:44 -0500 | [diff] [blame] | 14 | SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.xz \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 15 | file://0001-Check-for-issetugid.patch \ |
| 16 | file://0002-remove-unused-execinfo.h.patch \ |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 17 | file://0001-modules-files.c-parse_field-fix-string-formating-in-.patch \ |
| 18 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | |
| 20 | SRC_URI[md5sum] = "63e5e5c551e99dc5302b40b80bd6d4f2" |
| 21 | SRC_URI[sha256sum] = "a58ff4fabb01a25043b142185a33eeea961109dd60d4b40b6a9df4fa3cace20b" |
| 22 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 23 | DEPENDS = "popt libpam glib-2.0 python3" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 25 | inherit distro_features_check |
| 26 | REQUIRED_DISTRO_FEATURES = "pam" |
| 27 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 28 | inherit autotools gettext python3native python3-dir pkgconfig gtk-doc |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 29 | |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 30 | EXTRA_OEMAKE = "PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | |
| 32 | PACKAGES += "${PN}-python " |
| 33 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 34 | FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}" |
| 35 | |