summaryrefslogtreecommitdiff
path: root/packages/gpe-conf/gpe-conf_cvs.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-09-09 11:40:59 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-09 11:40:59 +0000
commitc5a9846745ad511d74ac2deeca9d2e48754cfb33 (patch)
tree20e423257880ce8c4824ae1b878493c986f5c34e /packages/gpe-conf/gpe-conf_cvs.bb
parent2afd0c4be9c853f22b5d565f82e2619f3ee7fe72 (diff)
packages/gpe-conf/gpe-conf_cvs.bb: add (disabled) cvs version of gpe-conf and add Makefile.* to work around the CVSBUILD 'feature'
Diffstat (limited to 'packages/gpe-conf/gpe-conf_cvs.bb')
-rw-r--r--packages/gpe-conf/gpe-conf_cvs.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/gpe-conf/gpe-conf_cvs.bb b/packages/gpe-conf/gpe-conf_cvs.bb
new file mode 100644
index 0000000000..6ab2d16863
--- /dev/null
+++ b/packages/gpe-conf/gpe-conf_cvs.bb
@@ -0,0 +1,40 @@
+DEFAULT_PREFERENCE = "-1"
+
+S = "${WORKDIR}/${PN}"
+PV = "0.1.25+cvs-${CVSDATE}"
+PR = "r0"
+
+inherit gpe
+
+SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/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
+}
+
+