python/hypothesis: update to 6.122.3
[oi-userland.git] / components / database / geoip / Makefile
blob0f1a4b9ec19d422918d4355937daf2f88a74dcb8
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 2011 EveryCity Ltd. All rights reserved.
13 # Copyright 2018 Michal Nowak
15 BUILD_BITS= 64_and_32
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= GeoIP
19 COMPONENT_VERSION= 1.6.12
20 COMPONENT_REVISION= 1
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
23 COMPONENT_FMRI= database/geoip
24 COMPONENT_SUMMARY= GeoIP is a C library finds the location of an IP address.
25 COMPONENT_ARCHIVE_HASH= sha256:1dfb748003c5e4b7fd56ba8c4cd786633d5d6f409547584f6910398389636f80
26 COMPONENT_ARCHIVE_URL= https://github.com/maxmind/geoip-api-c/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL= https://dev.maxmind.com/geoip/legacy/geolite/
28 COMPONENT_CLASSIFICATION= System/Libraries
29 COMPONENT_LICENSE= LGPLv2
30 COMPONENT_LICENSE_FILE= geoip.license
32 include $(WS_MAKE_RULES)/common.mk
34 CONFIGURE_OPTIONS += --with-pic
35 CONFIGURE_OPTIONS += --no-recursion
36 CONFIGURE_OPTIONS += --enable-libtool-lock
37 CONFIGURE_OPTIONS += --disable-static
38 CONFIGURE_OPTIONS += --enable-shared
39 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
40 CONFIGURE_OPTIONS += --enable-data-files
41 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
42 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
43 CONFIGURE_SCRIPT = $(@D)/configure
45 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D) && \
46 cd $(@D) && libtoolize && ./bootstrap )
48 COMPONENT_TEST_TRANSFORMER = $(NAWK)
49 COMPONENT_TEST_TRANSFORMS = "'/TOTAL|PASS|FAIL|XFAIL|SKIP|XPASS|ERROR/'"
51 # Needed for tests to pass.
52 unexport SHELLOPTS
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES += system/library