From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- .../opt/QtPalmtop/apps/Applications/txdrug.desktop | 6 +++++ .../txdrug-0.1/opt/QtPalmtop/etc/txdrug/drugs.db | Bin 0 -> 791552 bytes .../txdrug-0.1/opt/QtPalmtop/pics/txdrug.png | Bin 0 -> 2376 bytes .../txdrug-0.1/opt/QtPalmtop/pics/txdrug/down.png | Bin 0 -> 182 bytes .../txdrug-0.1/opt/QtPalmtop/pics/txdrug/up.png | Bin 0 -> 175 bytes recipes/txdrug/txdrug_0.1.bb | 29 +++++++++++++++++++++ 6 files changed, 35 insertions(+) create mode 100644 recipes/txdrug/txdrug-0.1/opt/QtPalmtop/apps/Applications/txdrug.desktop create mode 100755 recipes/txdrug/txdrug-0.1/opt/QtPalmtop/etc/txdrug/drugs.db create mode 100644 recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug.png create mode 100644 recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug/down.png create mode 100644 recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug/up.png create mode 100644 recipes/txdrug/txdrug_0.1.bb (limited to 'recipes/txdrug') diff --git a/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/apps/Applications/txdrug.desktop b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/apps/Applications/txdrug.desktop new file mode 100644 index 0000000000..d3c4510192 --- /dev/null +++ b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/apps/Applications/txdrug.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Comment = Drug Lookup +Exec = txdrug +Type = Application +Icon = txdrug +Name = TxDrug diff --git a/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/etc/txdrug/drugs.db b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/etc/txdrug/drugs.db new file mode 100755 index 0000000000..336fa243c9 Binary files /dev/null and b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/etc/txdrug/drugs.db differ diff --git a/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug.png b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug.png new file mode 100644 index 0000000000..9311f653b3 Binary files /dev/null and b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug.png differ diff --git a/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug/down.png b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug/down.png new file mode 100644 index 0000000000..b7aeaae9bc Binary files /dev/null and b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug/down.png differ diff --git a/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug/up.png b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug/up.png new file mode 100644 index 0000000000..b637166778 Binary files /dev/null and b/recipes/txdrug/txdrug-0.1/opt/QtPalmtop/pics/txdrug/up.png differ diff --git a/recipes/txdrug/txdrug_0.1.bb b/recipes/txdrug/txdrug_0.1.bb new file mode 100644 index 0000000000..31da8117f7 --- /dev/null +++ b/recipes/txdrug/txdrug_0.1.bb @@ -0,0 +1,29 @@ +DESCRIPTION = "Tx Drug Database" +SECTION = "opie/applications" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "sqlite" +PR = "r3" + +SRC_URI = "http://teax.sourceforge.net/txdrug-${PV}.tar.gz \ + file://${FILESDIR}/opt/QtPalmtop" +S = "${WORKDIR}/txdrug-tar" + +inherit palmtop + +EXTRA_QMAKEVARS_POST += "LIBS+=-lsqlite TARGET=txdrug" + +do_configure_prepend() { + rm -f Makefile && qmake -project +} + +do_configure_append() { + sed -i "s/\-I\/usr\/include\/sqlite\ //g" Makefile +} + +do_install() { + install -d ${D}${palmtopdir} + cp -Pfr `ls -dp ${WORKDIR}/opt/QtPalmtop/*|grep -v SCCS` ${D}${palmtopdir}/ + install -D -m 755 txdrug ${D}${palmtopdir}/bin/txdrug +} + -- cgit v1.2.3