wok rev 25768
created recipes for libmaxminddb and libmaxminddb-dev
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 03 15:27:18 2024 +0100 (2 months ago) |
parents | ffbe519b44df |
children | fd9bbbef8991 |
files | libmaxminddb-dev/receipt libmaxminddb/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libmaxminddb-dev/receipt Tue Sep 03 15:27:18 2024 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libmaxminddb-dev" 1.7 +VERSION="1.11.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Maxmind GeoIP2 database library - development files." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="Apache-2.0" 1.12 +WEB_SITE="https://github.com/maxmind/libmaxminddb" 1.13 + 1.14 +DEPENDS="libmaxminddb pkg-config" 1.15 +WANTED="libmaxminddb" 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + get_dev_files 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libmaxminddb/receipt Tue Sep 03 15:27:18 2024 +0100 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libmaxminddb" 2.7 +VERSION="1.11.0" 2.8 +CATEGORY="libs" 2.9 +TAGS="geoip" 2.10 +SHORT_DESC="Maxmind GeoIP2 database library." 2.11 +MAINTAINER="maintainer@slitaz.org" 2.12 +LICENSE="Apache-2.0" 2.13 +WEB_SITE="https://github.com/maxmind/libmaxminddb" 2.14 + 2.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.16 +WGET_URL="https://github.com/maxmind/$PACKAGE/releases/download/$VERSION/$TARBALL" 2.17 + 2.18 +DEPENDS="curl" 2.19 +BUILD_DEPENDS="curl-dev" 2.20 + 2.21 +# Rules to configure and make the package. 2.22 +compile_rules() 2.23 +{ 2.24 + ./configure \ 2.25 + --prefix=/usr \ 2.26 + --with-pic \ 2.27 + $CONFIGURE_ARGS && 2.28 + make && 2.29 + make install 2.30 +} 2.31 + 2.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.33 +genpkg_rules() 2.34 +{ 2.35 + cook_copy_folders bin 2.36 + cook_copy_files *.so* 2.37 +}