2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2017 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= freetts
19 COMPONENT_VERSION
= 1.2.2
21 COMPONENT_SUMMARY
= FreeTTS Speech Synthesis System
22 COMPONENT_PROJECT_URL
= https
://freetts.sourceforge.net
/docs
/index.php
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)-src.zip
25 COMPONENT_ARCHIVE_HASH
= sha256
:270bbf8c3ab1571585f0a78818ba73b601ef515eb1e6087293c41177219ed156
26 COMPONENT_ARCHIVE_URL
= https
://downloads.sourceforge.net
/project
/freetts
/FreeTTS
/FreeTTS
%20$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_FMRI
= library
/java
/freetts
28 COMPONENT_CLASSIFICATION
= Applications
/Universal Access
29 COMPONENT_LICENSE
= Other
31 TEST_TARGET
= $(NO_TESTS
)
32 include $(WS_MAKE_RULES
)/common.mk
34 # userland-unpack can't overwrite META-INF directory
35 UNPACK
= /usr
/bin
/unzip
-o
37 CLEAN_PATHS
+= META-INF
39 COMPONENT_BUILD_ARGS
= -Dsrc_dir
=.
42 $(MKDIR
) $(PROTO_DIR
)/usr
/share
/lib
/freetts
43 $(CP
) $(BUILD_DIR_64
)/lib
/*.jar
$(BUILD_DIR_64
)/bin
/*.jar
$(PROTO_DIR
)/usr
/share
/lib
/freetts
44 $(TOUCH
) $(INSTALL_64
)
46 # Manually added build dependencies
47 REQUIRED_PACKAGES
+= developer
/build
/ant
49 # Auto-generated dependencies