summaryrefslogtreecommitdiffstats
path: root/meta-oem-extra-libs/recipes-support/mongodb/mongoose_git.bb
diff options
context:
space:
mode:
authortte_zheng_wenlong <wenlong_zheng_za@mail.toyota.co.jp>2016-12-15 09:55:23 +0900
committertte_zheng_wenlong <wenlong_zheng_za@mail.toyota.co.jp>2016-12-15 10:04:44 +0900
commit0f2e535b241c6d8c1cb313fb65ef22dfe8ec2cdc (patch)
treeaca5339f1c8ae5fadeddca78c4f4ec833e0eb859 /meta-oem-extra-libs/recipes-support/mongodb/mongoose_git.bb
parent8b68c2e568985d6aff0474deaba24bfa9f81d0f8 (diff)
Add Mongoose Embedded Web Server Library
Change "mongoose for MongoDB" to "mongoose for Embbedded Web Server Library" Deleted old mongoose_git.bb for MongoDB Add mongoose_6.6.bb for Mongoose Embedded Web Server Library Modify packagegroup-ivi-common-core-os-commonlibs.bbappend to delete mongodb nodejs Change-Id: I41a2423e30af8a7fec85f5900556dce46ec6bddb Signed-off-by: tte_zheng_wenlong <wenlong_zheng_za@mail.toyota.co.jp>
Diffstat (limited to 'meta-oem-extra-libs/recipes-support/mongodb/mongoose_git.bb')
-rw-r--r--meta-oem-extra-libs/recipes-support/mongodb/mongoose_git.bb60
1 files changed, 0 insertions, 60 deletions
diff --git a/meta-oem-extra-libs/recipes-support/mongodb/mongoose_git.bb b/meta-oem-extra-libs/recipes-support/mongodb/mongoose_git.bb
deleted file mode 100644
index 35fd3f29..00000000
--- a/meta-oem-extra-libs/recipes-support/mongodb/mongoose_git.bb
+++ /dev/null
@@ -1,60 +0,0 @@
-SUMMARY = "mongoose"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://README.md;beginline=302;endline=321;md5=dbdda6492d8f693c50356f55d30cbb5e \
- "
-
-PV = "4.6.1+git${SRCPV}"
-SRCREV = "4913935d321efbf2b6dccc4b4ba1679a73d5bd08"
-SRC_URI = "git://github.com/Automattic/mongoose.git;protocol=git;branch=master \
- "
-RDEPENDS_${PN} += "mongodb \
- nodejs \
- "
-
-S = "${WORKDIR}/git"
-
-FILES_${PN} = " \
- ${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/* \
- "
-
-do_configure() {
-}
-
-do_compile() {
-}
-
-install_file_directory() {
- for obj in $1/*; do
- fname=`basename $obj`
- if ! [ -e $2 ]; then
- install -d 0644 $2
- fi
- if [ -f $1/$fname ]; then
- install -m 0644 $1/$fname $2
- elif [ -d $1/$fname ]; then
- if ! [ -e $2/$fname ]; then
- install -d 0644 $2/$fname
- fi
- install_file_directory $1/$fname $2/$fname
- fi
- done
-}
-
-do_install() {
- install -d ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/
-
- install -m 0644 ${S}/CONTRIBUTING.md ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/
- install -m 0644 ${S}/History.md ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/
- install -m 0644 ${S}/index.js ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/
- install -m 0644 ${S}/README.md ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/
- install -m 0644 ${S}/package.json ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/
- install -m 0644 ${S}/release-items.md ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/
- install -m 0644 ${S}/static.js ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/
- install -m 0644 ${S}/website.js ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/
-
- install_file_directory ${S}/examples ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/examples/
- install_file_directory ${S}/lib ${D}${exec_prefix}/lib/node_modules/npm/node_modules/mongoose/lib/
-
-# sed -i '/devDependencies/a\ \ \ \ \"mongoose\"\:\ \"\~4\.6\.2\"\,' ${D}${exec_prefix}/lib/node_modules/npm/package.json
-}
-