Permalink
Browse files

initial import

  • Loading branch information...
0 parents commit 103dead261a4d211a39fd1d249c7f5b502f8c178 @etrepum etrepum committed Sep 1, 2006
Showing with 516 additions and 0 deletions.
  1. +9 −0 LICENSE
  2. +13 −0 Makefile
  3. +1 −0 README
  4. +16 −0 src/Makefile
  5. +8 −0 src/egeoip.app.src
  6. +393 −0 src/egeoip.erl
  7. +23 −0 support/create_release.sh
  8. +52 −0 support/include.mk
  9. +1 −0 vsn.mk
@@ -0,0 +1,9 @@
+This is the MIT license.
+
+Copyright (c) 2006 Bob Ippolito.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,13 @@
+
+
+all:
+ (cd src;$(MAKE))
+
+clean:
+ (cd src;$(MAKE) clean)
+
+release: clean appfile
+ sh support/create_release.sh
+
+appfile:
+ (cd src;$(MAKE) ../ebin/egeoip.app)
1 README
@@ -0,0 +1 @@
+egeoip is a pure Erlang library for dealing with MaxMind Geolocation databases.
@@ -0,0 +1,16 @@
+
+include ../support/include.mk
+
+include ../vsn.mk
+VSN=$(ESWF_VSN)
+
+EBIN_FILES = $(ERL_OBJECTS) $(ERL_DOCUMENTS) ../ebin/egeoip.app
+MODULES = $(ERL_SOURCES:%.erl=%)
+
+all: $(EBIN_FILES)
+
+debug:
+ $(MAKE) DEBUG=-DDEBUG
+
+clean:
+ rm -rf $(EBIN_FILES)
@@ -0,0 +1,8 @@
+{application,egeoip,
+ [{description,"geolocation by IP"},
+ {vsn,"%VSN%"},
+ {modules,[%MODULES%]},
+ {registered, []},
+ {env, []},
+ %% {mod, {egeoip_app, []}},
+ {applications,[kernel,stdlib,sasl]}}.
Oops, something went wrong.

0 comments on commit 103dead

Please sign in to comment.