shared-macros.mk: simplify java settings
[oi-userland.git] / components / sysutils / xorriso / Makefile
blobd7a449802e3f0b1cc928b0c99d3d39c6fead270a
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2019, Michal Nowak
23 # Copyright (c) 2021, Nona Hansel
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= xorriso
29 COMPONENT_VERSION= 1.5.7
30 COMPONENT_REVISION= 1
31 COMPONENT_SUMMARY= command line ISO-9660 and Rock Ridge manipulation tool
32 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
33 COMPONENT_PROJECT_URL= https://www.gnu.org/software/xorriso/
34 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(HUMAN_VERSION).tar.gz
35 COMPONENT_ARCHIVE_HASH= sha256:0d9cf80df436a16b4c4051fb4893307d109f2394c58fa94138a2270160eaca4d
36 COMPONENT_ARCHIVE_URL= https://www.gnu.org/software/xorriso/$(COMPONENT_ARCHIVE)
37 COMPONENT_FMRI= media/xorriso
38 COMPONENT_CLASSIFICATION= System/Media
39 COMPONENT_LICENSE= GPLv3
40 COMPONENT_LICENSE_FILE= COPYING
42 CPPFLAGS += -I./test
44 include $(WS_MAKE_RULES)/common.mk
46 CONFIGURE_OPTIONS += --enable-shared
47 CONFIGURE_OPTIONS += --disable-static
48 CONFIGURE_OPTIONS += --sysconfdir=/etc/gnu
49 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
50 CONFIGURE_OPTIONS += CPPFLAGS="$(CPPFLAGS)"
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += $(READLINE_PKG)
54 REQUIRED_PACKAGES += compress/bzip2
55 REQUIRED_PACKAGES += library/zlib
56 REQUIRED_PACKAGES += runtime/tk-8
57 REQUIRED_PACKAGES += system/library