shared-macros.mk: simplify java settings
[oi-userland.git] / components / sysutils / ts / Makefile
blob32439d83ea542550d102a71f1ddfc80be971bd25
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 2014 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 BUILD_STYLE= justmake
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= ts
19 COMPONENT_VERSION= 1.0.3
20 COMPONENT_SUMMARY= task spooler - a Unix batch system
21 COMPONENT_PROJECT_URL= https://vicerveza.homeunix.net/~viric/soft/ts/
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= sha256:fa833311543dc535b60cb7ab83c64ab5ee31128dbaaaa13dde341984e542b428
25 COMPONENT_ARCHIVE_URL= https://vicerveza.homeunix.net/~viric/soft/ts/$(COMPONENT_ARCHIVE)
26 COMPONENT_FMRI= utility/ts
27 COMPONENT_CLASSIFICATION= System/Administration and Configuration
28 COMPONENT_LICENSE= GPLv2+
29 COMPONENT_LICENSE_FILE= COPYING
31 include $(WS_MAKE_RULES)/common.mk
33 COMPONENT_BUILD_ENV = CC=$(CC)
34 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS) -pedantic -ansi -Wall"
35 COMPONENT_BUILD_ENV += LDFLAGS="$(CC_BITS) -lsocket -lnsl"
37 COMPONENT_INSTALL_ARGS=PREFIX=$(PROTO_DIR)/usr
39 COMPONENT_TEST_CMD= ./testbench.sh
40 COMPONENT_TEST_TARGETS=
41 COMPONENT_TEST_ENV += PATH=$(PROTOUSRBIN):$(USRBINDIR)
43 # Auto-generated dependencies
44 REQUIRED_PACKAGES += system/library