2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
17 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_VERSION
= 2.3.0.2
23 COMPONENT_PROJECT_URL
= https
://github.com
/wilx
/apg
24 COMPONENT_SUMMARY
= APG
(Automated Pasword Generator
)
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(HUMAN_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_HASH
= sha256
:89539aa734a47d68124fca5ba7acbe559edc5003b6791f5200ef9e706dd00fe9
28 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/refs
/tags/v
$(HUMAN_VERSION
).
tar.gz
29 COMPONENT_FMRI
= security
/$(COMPONENT_NAME
)
30 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
31 COMPONENT_LICENSE
= BSD
32 COMPONENT_LICENSE_FILE
= COPYING
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
37 COMPONENT_POST_UNPACK_ACTION
+= ( find
$(COMPONENT_SRC
) -type d
-exec chmod u
+rwx \
{\
} \
; )
39 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
40 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
42 # Auto-generated dependencies
43 REQUIRED_PACKAGES
+= library
/security
/cracklib
44 REQUIRED_PACKAGES
+= system
/library
45 REQUIRED_PACKAGES
+= system
/library
/math