Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. DESCRIPTION = "MongoDB Tools"
  2. HOMEPAGE = "https://docs.mongodb.com/tools/"
  3. LICENSE = "Apache-2.0"
  4. LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE.md;md5=afa58684f5cd257af11dc6dfe10a2458"
  5.  
  6. inherit go
  7. GO_IMPORT = "github.com/mongodb/mongo-tools"
  8.  
  9. SRC_URI = "git://${GO_IMPORT}"
  10.  
  11. PV = "4.1.5"
  12. SRCREV = "d6c691f3ed621e087db9f064c5ca872fbb7096ca"
  13.  
  14. GO_INSTALL = "\
  15. ${GO_IMPORT}/common \
  16. ${GO_IMPORT}/mongodump/... \
  17. ${GO_IMPORT}/mongoimport/... \
  18. "
  19.  
  20. DEPENDS = " \
  21. github.com-howeyc-gopass \
  22. github.com-jessevdk-go-flags \
  23. golang.org-x-net \
  24. gopkg.in-mgo.v2 \
  25. gopkg.in-tomb.v2 \
  26. "
  27.  
  28. do_install_append(){
  29. rm ${D}/${bindir}/main
  30. install -m 0755 ${B}/bin/main ${D}${bindir}/mongodump ## ${B}/bin/main is conflicting
  31. }
  32.  
  33. RDEPENDS_${PN}-dev += "bash python"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement