summaryrefslogtreecommitdiff
path: root/gnome/libgnomeprintui_2.6.2.oe
blob: 7f9590361ad5a0a3cd50dba79ac6c82dadfd9bd6 (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
DEPENDS = "libgnomeprint gtk+ libgnomecanvas gnome-icon-theme"

SRC_URI = "${GNOME_MIRROR}/${PN}/2.6/${PN}-${PV}.tar.bz2 \
	file://compiler-flags.m4 \
	file://configure.patch;patch=1"

inherit autotools pkgconfig

do_configure_prepend() {
	mkdir -p ${S}/m4
	install ${WORKDIR}/compiler-flags.m4 ${S}/m4/
}

HEADERS = " \
gnome-print-paper-selector.h \
gnome-print-config-dialog.h \
gnome-print-preview.h \
gnome-font-dialog.h \
gnome-print-dialog.h \
gnome-print-unit-selector.h \
gnome-print-job-preview.h \
"

do_stage() {
	install -d ${STAGING_LIBDIR}
	oe_libinstall -so -a -C libgnomeprintui libgnomeprintui-2-2 ${STAGING_LIBDIR}
	install -d ${STAGING_INCDIR}/libgnomeprintui-2.2/libgnomeprintui
	for i in ${HEADERS}; do
		install -m 0644 libgnomeprintui/$i ${STAGING_INCDIR}/libgnomeprintui-2.2/libgnomeprintui/$i
	done	
}