aboutsummaryrefslogtreecommitdiffstats
path: root/packages/gpe-conf/gpe-conf_cvs.bb
blob: 57aa454e021595f43cc03f36fb7d573b5f261103 (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
33
34
35
36
37
38
39
40
DEFAULT_PREFERENCE = "-1"

S = "${WORKDIR}/${PN}"
PV = "0.1.26+cvs${SRCDATE}"
PR = "r0"

inherit gpe

SRC_URI =	"${HANDHELDS_CVS};module=gpe/base/${PN} \
		 file://Makefile.dpkg_ipkg \
    		 file://Makefile.translation"

PACKAGES = "gpe-conf gpe-conf-panel"
LICENSE = "GPL"
SECTION = "gpe"
PRIORITY = "optional"


DEPENDS = "gtk+ libgpewidget libxsettings libxsettings-client pcmcia-cs xst xset ipaq-sleep ntp gpe-login gpe-icons"
RDEPENDS_${PN} = "xst xset ipaq-sleep ntpdate gpe-login gpe-icons"
RDEPENDS_gpe-conf-panel = "gpe-conf"
FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \
		${datadir}/applications/gpe-conf-* ${datadir}/gpe/pixmaps \
		${datadir}/gpe-conf"
FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop"


do_compile () {
	sed -i 's:CVSBUILD = yes:CVSBUILD = no:' Makefile
	mkdir build
	cp ${WORKDIR}/Makefile.* build/
	oe_runmake PREFIX=${prefix}
	oe_runmake all-desktop PREFIX=${prefix}
}

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