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 --- recipes/wview/files/Makefile.am.patch | 24 +++++++++++++++++++ recipes/wview/wview-common.inc | 39 +++++++++++++++++++++++++++++++ recipes/wview/wview-mysql.inc | 7 ++++++ recipes/wview/wview-sim-mysql_3.1.3.bb | 3 +++ recipes/wview/wview-sim_3.1.3.bb | 4 ++++ recipes/wview/wview-vpro-mysql_3.1.3.bb | 3 +++ recipes/wview/wview-vpro_3.1.3.bb | 4 ++++ recipes/wview/wview-wxt510-mysql_3.1.3.bb | 3 +++ recipes/wview/wview-wxt510_3.1.3.bb | 4 ++++ recipes/wview/wview.inc | 2 ++ 10 files changed, 93 insertions(+) create mode 100644 recipes/wview/files/Makefile.am.patch create mode 100644 recipes/wview/wview-common.inc create mode 100644 recipes/wview/wview-mysql.inc create mode 100644 recipes/wview/wview-sim-mysql_3.1.3.bb create mode 100644 recipes/wview/wview-sim_3.1.3.bb create mode 100644 recipes/wview/wview-vpro-mysql_3.1.3.bb create mode 100644 recipes/wview/wview-vpro_3.1.3.bb create mode 100644 recipes/wview/wview-wxt510-mysql_3.1.3.bb create mode 100644 recipes/wview/wview-wxt510_3.1.3.bb create mode 100644 recipes/wview/wview.inc (limited to 'recipes/wview') diff --git a/recipes/wview/files/Makefile.am.patch b/recipes/wview/files/Makefile.am.patch new file mode 100644 index 0000000000..1c35ee8c29 --- /dev/null +++ b/recipes/wview/files/Makefile.am.patch @@ -0,0 +1,24 @@ +--- wview-3.1.3/wunderground/Makefile.am.orig 2006-07-01 18:28:45.000000000 +0200 ++++ wview-3.1.3/wunderground/Makefile.am 2006-07-01 18:29:23.000000000 +0200 +@@ -9,8 +9,6 @@ + INCLUDES = \ + -I$(top_srcdir)/common \ + -I$(prefix)/include \ +- -I/usr/include \ +- -I/usr/local/include \ + -D_GNU_SOURCE \ + -DBUILD_WVWUNDERGROUND + +@@ -36,10 +34,10 @@ + endif + + # define library directories +-wvwunderd_LDFLAGS = -L/usr/lib -L/usr/local/lib -L$(prefix)/lib ++wvwunderd_LDFLAGS = -L$(prefix)/lib + + if DB_MYSQL +-wvwunderd_LDFLAGS += -L$(prefix)/lib/mysql -L/usr/lib/mysql ++wvwunderd_LDFLAGS += -L$(prefix)/lib/mysql + else + if DB_PGRESQL + wvwunderd_LDFLAGS += -L$(prefix)/lib -L$(prefix)/pgsql/lib diff --git a/recipes/wview/wview-common.inc b/recipes/wview/wview-common.inc new file mode 100644 index 0000000000..c9bdc805b9 --- /dev/null +++ b/recipes/wview/wview-common.inc @@ -0,0 +1,39 @@ +SECTION = "apps" +LICENSE = "GPL" +DESCRIPTION = "wview is a weather site generator and more for a variety of weather stations" +HOMEPAGE = "http://www.wviewweather.com/" +DEPENDS += " bash util-linux gd openssl curl update-rc.d" + +SRC_URI = "${SOURCEFORGE_MIRROR}/wview/wview-${PV}.tar.gz \ + file://Makefile.am.patch;patch=1" + +S = "${WORKDIR}/wview-${PV}" + +inherit autotools + +EXTRA_OECONF += "--prefix=${D} --enable-wunderground" + +do_install_append() { + install -d ${D}/${sysconfdir}/init.d + install -d ${D}/${sysconfdir}/wview + install -d ${D}/${sysconfdir}/wview/html + install -d ${D}/${sysconfdir}/wview/alarms + install -m 755 ${S}/examples/NSLU2/wview ${D}/${sysconfdir}/init.d + install -m 644 ${S}/examples/conf/*.* ${D}/${sysconfdir}/wview + install -m 755 ${S}/examples/alarms/*.sh ${D}/${sysconfdir}/wview/alarms + install -m 644 ${S}/examples/html/*.* ${D}/${sysconfdir}/wview/html + + install -d ${D}/var/wview + install -d ${D}/var/wview/archive + install -d ${D}/var/wview/alarms + install -d ${D}/var/wview/img + install -d ${D}/var/wview/noaa + install -m 644 ${S}/bin/img/*.* ${D}/var/wview/img + + if test "x${D}" != "x"; then + D="-r ${D}" + else + D="" + fi + update-rc.d $D wview defaults 95 15 +} diff --git a/recipes/wview/wview-mysql.inc b/recipes/wview/wview-mysql.inc new file mode 100644 index 0000000000..3b9314eafd --- /dev/null +++ b/recipes/wview/wview-mysql.inc @@ -0,0 +1,7 @@ +DEPENDS += " radlib-mysql" + +export CFLAGS_append=" -I${STAGING_INCDIR}/mysql " +export LDFLAGS_append=" -L${STAGING_LIBDIR}/mysql " + +EXTRA_OECONF += " --enable-mysql" + diff --git a/recipes/wview/wview-sim-mysql_3.1.3.bb b/recipes/wview/wview-sim-mysql_3.1.3.bb new file mode 100644 index 0000000000..99f2f7ad70 --- /dev/null +++ b/recipes/wview/wview-sim-mysql_3.1.3.bb @@ -0,0 +1,3 @@ +require wview-common.inc +require wview-mysql.inc +EXTRA_OECONF += " --enable-station-sim" diff --git a/recipes/wview/wview-sim_3.1.3.bb b/recipes/wview/wview-sim_3.1.3.bb new file mode 100644 index 0000000000..86ccf00458 --- /dev/null +++ b/recipes/wview/wview-sim_3.1.3.bb @@ -0,0 +1,4 @@ +require wview-common.inc +require wview.inc +EXTRA_OECONF += " --enable-station-sim" +PR = "r1" diff --git a/recipes/wview/wview-vpro-mysql_3.1.3.bb b/recipes/wview/wview-vpro-mysql_3.1.3.bb new file mode 100644 index 0000000000..f6f63eab3e --- /dev/null +++ b/recipes/wview/wview-vpro-mysql_3.1.3.bb @@ -0,0 +1,3 @@ +require wview-common.inc +require wview-mysql.inc +EXTRA_OECONF += " --enable-station-vpro" diff --git a/recipes/wview/wview-vpro_3.1.3.bb b/recipes/wview/wview-vpro_3.1.3.bb new file mode 100644 index 0000000000..ae72f6a286 --- /dev/null +++ b/recipes/wview/wview-vpro_3.1.3.bb @@ -0,0 +1,4 @@ +require wview-common.inc +require wview.inc +EXTRA_OECONF += " --enable-station-vpro" +PR = "r1" diff --git a/recipes/wview/wview-wxt510-mysql_3.1.3.bb b/recipes/wview/wview-wxt510-mysql_3.1.3.bb new file mode 100644 index 0000000000..4e7c712500 --- /dev/null +++ b/recipes/wview/wview-wxt510-mysql_3.1.3.bb @@ -0,0 +1,3 @@ +require wview-common.inc +require wview-mysql.inc +EXTRA_OECONF += " --enable-station-wxt510" diff --git a/recipes/wview/wview-wxt510_3.1.3.bb b/recipes/wview/wview-wxt510_3.1.3.bb new file mode 100644 index 0000000000..0c8bb5b5da --- /dev/null +++ b/recipes/wview/wview-wxt510_3.1.3.bb @@ -0,0 +1,4 @@ +require wview-common.inc +require wview.inc +EXTRA_OECONF += " --enable-station-wxt510" +PR = "r1" diff --git a/recipes/wview/wview.inc b/recipes/wview/wview.inc new file mode 100644 index 0000000000..9b2229d699 --- /dev/null +++ b/recipes/wview/wview.inc @@ -0,0 +1,2 @@ +DEPENDS += " radlib" + -- cgit v1.2.3