18 lines
497 B

  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. define Package/python-db
  8. $(call Package/python/Default)
  9. TITLE:=Python $(PYTHON_VERSION) db module
  10. DEPENDS:=+python-light +libdb47
  11. endef
  12. $(eval $(call PyBasePackage,python-db, \
  13. /usr/lib/python$(PYTHON_VERSION)/bsddb \
  14. /usr/lib/python$(PYTHON_VERSION)/lib-dynload/_bsddb.so \
  15. /usr/lib/python$(PYTHON_VERSION)/lib-dynload/dbm.so \
  16. ))