summaryrefslogtreecommitdiff
path: root/recipes/libdisplaymigration/libdisplaymigration_0.28.bb
blob: 9b7f86ef9ff2f1331d80a372951ac54877c86fc1 (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
LICENSE = "LGPL"
DESCRIPTION = "Gtk+ display migration library"
DEPENDS = "gtk+ libgcrypt"
SECTION = "gpe"
PRIORITY = "optional"
PR = "r1"

inherit pkgconfig gpe

SRC_URI += "file://makefile-fix.patch;apply=yes"

headers = "displaymigration.h auth.h crypt.h"

do_install() {
        oe_runmake PREFIX=${prefix} DESTDIR=${D} install
        oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel
}

do_stage () {
	oe_libinstall -so libdisplaymigration ${STAGING_LIBDIR}

	mkdir -p ${STAGING_INCDIR}/libdisplaymigration
	for h in ${headers}; do
		install -m 0644 ${S}/libdisplaymigration/$h ${STAGING_INCDIR}/libdisplaymigration/${h}
	done
}

SRC_URI[md5sum] = "f976234f9dfd6a8e1288710b49d29964"
SRC_URI[sha256sum] = "f776abe417432b3c4ff8b063201c4b4b45479a563fb43e6fd64504b538ef4689"