You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1010 B

  1. #
  2. # Copyright (C) 2019 Sebastian Kemper <sebastian_ml@gmx.net>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=mariadb-common
  9. PKG_VERSION:=1.0
  10. PKG_RELEASE:=2
  11. PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
  12. PKG_LICENSE:=GPL-2.0
  13. CONF_DIR:=/etc/mysql
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/mariadb-common
  16. SECTION:=utils
  17. CATEGORY:=Utilities
  18. URL:=https://mariadb.org/
  19. SUBMENU:=Database
  20. TITLE:=MariaDB database common files
  21. DEPENDS:=
  22. endef
  23. define Package/mariadb-common/conffiles
  24. $(CONF_DIR)/my.cnf
  25. endef
  26. define Package/mariadb-common/description
  27. MariaDB is a very fast and robust SQL database server.
  28. This package includes shared files, for example $(CONF_DIR)/my.cnf.
  29. endef
  30. define Package/mariadb-common/install
  31. $(INSTALL_DIR) $(1)$(CONF_DIR)
  32. $(INSTALL_DATA) conf/my.cnf $(1)$(CONF_DIR)
  33. endef
  34. define Build/Compile
  35. endef
  36. $(eval $(call BuildPackage,mariadb-common))