summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libuser/libuser_0.62.bb
blob: 1765346646b2714da4de17e369ce5a88f42cbd13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY = "user and group account administration library"
DESCRIPTION = "The libuser library implements a standardized interface for manipulating and administering user \
and group accounts"
HOMEPAGE = "https://pagure.io/libuser"
BUGTRACKER = "https://pagure.io/libuser/issues"

LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
                    file://lib/user.h;endline=19;md5=76b301f63c39fa992062395efbdc9558 \
                    file://samples/testuser.c;endline=19;md5=3b87fa660fa3f4a6bb31d624afe30ba1"

SECTION = "base"

SRC_URI = "https://releases.pagure.org/libuser/libuser-${PV}.tar.xz \
           file://0001-Check-for-issetugid.patch \
           file://0002-remove-unused-execinfo.h.patch \
           file://0001-modules-files.c-parse_field-fix-string-formating-in-.patch \
           "

SRC_URI[md5sum] = "63e5e5c551e99dc5302b40b80bd6d4f2"
SRC_URI[sha256sum] = "a58ff4fabb01a25043b142185a33eeea961109dd60d4b40b6a9df4fa3cace20b"

DEPENDS = "popt libpam glib-2.0 python3"

inherit autotools gettext python3native python3-dir pkgconfig gtk-doc

EXTRA_OEMAKE = "PYTHON_CPPFLAGS=-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}"

PACKAGES += "${PN}-python "

FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"