Packages: added support for Amazon Linux.

This commit is contained in:
Andrei Belov
2018-01-22 16:39:31 +03:00
parent be8df0631a
commit 0c4ec72ca8
12 changed files with 302 additions and 2 deletions

View File

@@ -12,7 +12,12 @@ MODULE_INSTARGS_python= python-install
MODULE_SOURCES_python= unit.example-python-app \
unit.example-python-config
ifeq ($(shell rpm --eval "%{?amzn}"), 1)
BUILD_DEPENDS_python= python26-devel
else
BUILD_DEPENDS_python= python-devel
endif
BUILD_DEPENDS+= $(BUILD_DEPENDS_python)
define MODULE_PREINSTALL_python