fwknop: init script improvements
[feed/packages.git] / utils / mariadb-common / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mariadb-common
11 PKG_VERSION:=1.0
12 PKG_RELEASE:=1
13
14 PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
15 PKG_LICENSE:=GPL-2.0
16
17 CONF_DIR:=/etc/mysql
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/mariadb-common
22 SECTION:=utils
23 CATEGORY:=Utilities
24 URL:=https://mariadb.org/
25 SUBMENU:=Database
26 TITLE:=MariaDB database common files
27 DEPENDS:=
28 endef
29
30 define Package/mariadb-common/conffiles
31 $(CONF_DIR)/my.cnf
32 endef
33
34 define Package/mariadb-common/description
35 MariaDB is a very fast and robust SQL database server.
36
37 This package includes shared files, for example $(CONF_DIR)/my.cnf.
38
39 endef
40
41 define Package/mariadb-common/install
42 $(INSTALL_DIR) $(1)$(CONF_DIR)
43 $(INSTALL_CONF) conf/my.cnf $(1)$(CONF_DIR)
44 endef
45
46 define Build/Compile
47 endef
48
49 $(eval $(call BuildPackage,mariadb-common))