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]
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2023, Friedrich Kink
28 include ..
/..
/..
/make-rules
/shared-macros.mk
30 COMPONENT_NAME
= libnet
31 COMPONENT_VERSION
= 1.3
32 COMPONENT_SUMMARY
= libnet
- a library for portable network packet construction
33 COMPONENT_DESCRIPTION
= the libnet network packet construction library
34 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
35 COMPONENT_PROJECT_URL
= https
://github.com
/libnet
/libnet
36 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
37 COMPONENT_ARCHIVE_HASH
= sha256
:ad1e2dd9b500c58ee462acd839d0a0ea9a2b9248a1287840bc601e774fb6b28f
38 COMPONENT_ARCHIVE_URL
= https
://github.com
/libnet
/$(COMPONENT_NAME
)/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
39 COMPONENT_FMRI
= system
/library
/libnet
40 COMPONENT_CLASSIFICATION
=
41 COMPONENT_LICENSE
= BSD
42 COMPONENT_LICENSE_FILE
= LICENSE
44 TEST_TARGET
= $(NO_TESTS
)
45 include $(WS_MAKE_RULES
)/common.mk
47 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
49 CONFIGURE_OPTIONS
+= --disable-static
50 CONFIGURE_OPTIONS
+= --disable-doxygen-html
51 CONFIGURE_OPTIONS
+= --enable-doxygen-pdf
53 # Auto-generated dependencies
54 REQUIRED_PACKAGES
+= shell/ksh93
55 REQUIRED_PACKAGES
+= system
/library