Merge pull request #9663 from friberk/master

libmaxminddb packaged
This commit is contained in:
Kamil ATLI
2021-08-10 06:06:30 +03:00
committed by GitHub
6 changed files with 293333 additions and 293008 deletions
+293254 -293006
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
894db67d889d58e6104bed9b55e8adc5adaf8047
2c5bd45b60cadb23c9681e23910d8157030d2b80
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
68bb8a3f31f3363f593500ee1b78bd336d0b3851
14561e0461d454d7c474c0f120e4f1ae4e4db065
@@ -0,0 +1,26 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("AUTHORS", "LICENSE", "Changes.md", "README.md")
@@ -0,0 +1,51 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libmaxminddb</Name>
<Homepage>https://maxmind.github.io/libmaxminddb</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>Apache-2.0</License>
<IsA>library</IsA>
<Summary>C library for the MaxMind DB file format</Summary>
<Description>The libmaxminddb library provides a C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind.</Description>
<Archive sha1sum="4d7f2a2b5050752977b3e718fd96b359da744a9e" type="targz">https://github.com/maxmind/libmaxminddb/releases/download/1.6.0/libmaxminddb-1.6.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>glibc-devel</Dependency>
<Dependency>geoip-devel</Dependency>
<Dependency>cmake</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libmaxminddb</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>libmaxminddb-devel</Name>
<RuntimeDependencies>
<Dependency release="current">libmaxminddb</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-08-10</Date>
<Version>1.6.0</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>