summaryrefslogtreecommitdiff
path: root/recipes/libdisplaymigration/libdisplaymigration_0.99.bb
blob: db75ff7ab36ab8d8233f6acbf1ea39ae3f14c31e (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 (dummy version)"
DEPENDS = "gtk+"
SECTION = "gpe"
PRIORITY = "optional"
PR = "r0"

inherit pkgconfig gpe

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

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] = "181f063344a0e674e5c2546544d5e27f"
SRC_URI[sha256sum] = "b0159537f22453fcf30d7c4d7d9a39b6996233217c1f80a49ede135cf6ed32ca"