diff options
author | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-07-15 00:52:21 +0100 |
commit | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch) | |
tree | 278bbf05c72536a30e701eebbd3546ba137543e7 /repo/geoip | |
parent | f6332a43c35387c4a2dea1746be5fd092890ae0e (diff) |
added python deps for libvirt
Diffstat (limited to 'repo/geoip')
-rw-r--r-- | repo/geoip/geoip.xibuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/geoip/geoip.xibuild b/repo/geoip/geoip.xibuild new file mode 100644 index 0000000..1b580bd --- /dev/null +++ b/repo/geoip/geoip.xibuild @@ -0,0 +1,28 @@ +#!/bin/sh + +NAME="geoip" +DESC="Lookup countries by IP addresses" + +MAKEDEPS="zlib" + +PKG_VER=1.6.12 +SOURCE="https://github.com/maxmind/geoip-api-c/releases/download/v$PKG_VER/GeoIP-$PKG_VER.tar.gz" + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/geoip \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make +} + +package() { + make DESTDIR="$PKG_DEST" install + mkdir -p "$PKG_DEST"/usr/share/GeoIP +} + +check() { + make check +} + |