From 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 15 Jul 2022 00:52:21 +0100 Subject: added python deps for libvirt --- repo/geoip/geoip.xibuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 repo/geoip/geoip.xibuild (limited to 'repo/geoip') 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 +} + -- cgit v1.2.1