# HG changeset patch # User Hans-G?nter Theisgen # Date 1725373638 -3600 # Node ID 9925a548ba96a16ac98c9d7be2d2be1edf17d3c0 # Parent ffbe519b44df445cbd0c90cf65e1f5b0962da92d created recipes for libmaxminddb and libmaxminddb-dev diff -r ffbe519b44df -r 9925a548ba96 libmaxminddb-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmaxminddb-dev/receipt Tue Sep 03 15:27:18 2024 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="libmaxminddb-dev" +VERSION="1.11.0" +CATEGORY="development" +SHORT_DESC="Maxmind GeoIP2 database library - development files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="Apache-2.0" +WEB_SITE="https://github.com/maxmind/libmaxminddb" + +DEPENDS="libmaxminddb pkg-config" +WANTED="libmaxminddb" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + get_dev_files +} diff -r ffbe519b44df -r 9925a548ba96 libmaxminddb/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmaxminddb/receipt Tue Sep 03 15:27:18 2024 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="libmaxminddb" +VERSION="1.11.0" +CATEGORY="libs" +TAGS="geoip" +SHORT_DESC="Maxmind GeoIP2 database library." +MAINTAINER="maintainer@slitaz.org" +LICENSE="Apache-2.0" +WEB_SITE="https://github.com/maxmind/libmaxminddb" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/maxmind/$PACKAGE/releases/download/$VERSION/$TARBALL" + +DEPENDS="curl" +BUILD_DEPENDS="curl-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + --with-pic \ + $CONFIGURE_ARGS && + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders bin + cook_copy_files *.so* +}