[oi-dev] Addition of GeoIP to oi-build

Jeppe Toustrup openindiana at tenzer.dk
Fri Dec 23 16:08:29 UTC 2011


On Thu, Dec 22, 2011 at 16:24, Игорь Пашев <pashev.igor at gmail.com> wrote:
> include ../../make-rules/shared-macros.mk
>
> COMPONENT_NAME         = GeoIP
> COMPONENT_VERSION      = 1.4.7
> COMPONENT_SRC          = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
> COMPONENT_PROJECT_URL  = http://www.maxmind.com
> COMPONENT_ARCHIVE      = $(COMPONENT_SRC).tar.gz
> COMPONENT_ARCHIVE_HASH = sha1:2db3a61e19dfaa0e4131217b155a59ba4bd0c5cc
> COMPONENT_ARCHIVE_URL  =
> http://geolite.maxmind.com/download/geoip/api/c/$(COMPONENT_ARCHIVE)
>
> include $(WS_TOP)/make-rules/prep.mk
> include $(WS_TOP)/make-rules/configure.mk
> include $(WS_TOP)/make-rules/ips.mk
>
>
> build: $(BUILD_32_and_64)
>
> test: $(TEST_32_and_64)
>
> install: $(INSTALL_32_and_64)
>
> BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
>
> include $(WS_TOP)/make-rules/depend.mk

I just tried that Makefile with a few changes:
- Changed version to 1.4.8.
- Updated SHA1 hash for tar ball.
- Set the compiler to GCC.

And this results in libraries in both the /usr/lib and /usr/lib/amd64
folder, however, both sets of files are 32-bit according to "file".

I'll have to look closer into this, but I'm not sure it will be on
this side of the holidays.

--
Venlig hilsen / Kind regards
Jeppe Toustrup (aka. Tenzer)




More information about the oi-dev mailing list