Robert Marko 4d8a9a44c3 libmaxminddb: fixup lib and include dirs in pkg-config
libmaxminddb has switched to using CMAKE_INSTALL_PREFIX,
CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_INCLUDEDIR for generating the
pkg-config in upstream commit [1] and thus broke pkg-config file
generation in openwrt.

It would generate:
prefix=/usr
exec_prefix=/usr
libdir=lib
includedir=include

Obviously libdir and includedirs are incorrect for OpenWrt and this
would then cause pdns compilation to fail if geoip backend was enabled
since it uses pkg-config to get the required flags and passing just
lib for LDFLAGS would cause libtool to error out since that path is not
valid.

So, lets use SED magic to replace libdir and includedir with the correct
paths, so now pkg-config looks like:
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=${prefix}/include

[1] 8b4bf0dec9

Fixes: 9f7357880f ("libmaxminddb: update to 1.11.0")
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-10-14 21:59:46 +02:00
2024-08-12 09:04:13 -07:00
2024-09-13 11:54:21 +02:00
2024-08-18 14:39:48 -07:00
2024-10-09 15:16:42 +08:00
2024-07-17 14:52:00 +01:00
2024-10-14 10:50:36 -07:00
2024-05-10 23:34:46 +02:00
2020-05-24 14:50:30 -07:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

Description
Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
Readme GPL-2.0 176 MiB
Languages
Makefile 51.9%
Shell 32.7%
C 7.7%
UnrealScript 3%
C++ 1.8%
Other 2.7%