2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2017 Adam Stevko
16 set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
17 set name=pkg.human-version value=$(HUMAN_VERSION)
18 set name=pkg.summary value="$(COMPONENT_SUMMARY)"
19 set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
20 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
21 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
22 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
24 license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
26 # Drop 32 bit binaries:
27 <transform path=usr/bin/$(MACH32) -> drop>
29 depend type=require fmri=database/geoip-database
31 file path=usr/bin/$(MACH32)/geoiplookup
32 file path=usr/bin/$(MACH32)/geoiplookup6
33 file path=usr/bin/geoiplookup
34 file path=usr/bin/geoiplookup6
35 file path=usr/include/GeoIP.h
36 file path=usr/include/GeoIPCity.h
37 link path=usr/lib/$(MACH64)/libGeoIP.so target=libGeoIP.so.$(COMPONENT_VERSION)
38 file path=usr/lib/$(MACH64)/libGeoIP.so.$(COMPONENT_VERSION)
39 link path=usr/lib/$(MACH64)/libGeoIP.so.1 \
40 target=libGeoIP.so.$(COMPONENT_VERSION)
41 file path=usr/lib/$(MACH64)/pkgconfig/geoip.pc
42 link path=usr/lib/libGeoIP.so target=libGeoIP.so.$(COMPONENT_VERSION)
43 file path=usr/lib/libGeoIP.so.$(COMPONENT_VERSION)
44 link path=usr/lib/libGeoIP.so.1 target=libGeoIP.so.$(COMPONENT_VERSION)
45 file path=usr/lib/pkgconfig/geoip.pc
46 file path=usr/share/man/man1/geoiplookup.1
47 file path=usr/share/man/man1/geoiplookup6.1