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

Игорь Пашев pashev.igor at gmail.com
Fri Dec 23 16:44:42 UTC 2011


BTW:
in make-rules/shared-macros.mk:
CC.gcc.32 = $(GCC_ROOT)/bin/gcc -m32
CXX.gcc.32 = $(GCC_ROOT)/bin/g++ -m32
CC.gcc.64 = $(GCC_ROOT)/bin/gcc -m64
CXX.gcc.64 = $(GCC_ROOT)/bin/g++ -m64
CC = $(CC.$(COMPILER).$(BITS))


2011/12/23 Jeppe Toustrup <openindiana at tenzer.dk>

> 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)
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20111223/56e280ca/attachment-0005.html>


More information about the oi-dev mailing list