2017-03-23 23:04:14 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.freedesktop.org/wiki/Software/pkg-config/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Helper tool used when compiling applications and libraries"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2017-03-23 23:04:14 +01:00
|
|
|
TERMUX_PKG_VERSION=0.29.2
|
2017-03-04 21:54:30 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://pkgconfig.freedesktop.org/releases/pkg-config-${TERMUX_PKG_VERSION}.tar.gz
|
2017-03-23 23:04:14 +01:00
|
|
|
TERMUX_PKG_SHA256=6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DEPENDS="glib"
|
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="bin/*-pkg-config"
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_pre_configure() {
|
2019-08-08 14:25:54 +02:00
|
|
|
# Certain packages are not safe to build on device because their
|
|
|
|
# build.sh script deletes specific files in $TERMUX_PREFIX.
|
2019-08-12 17:28:41 +02:00
|
|
|
if $TERMUX_ON_DEVICE_BUILD; then
|
2019-08-08 14:25:54 +02:00
|
|
|
termux_error_exit "Package '$TERMUX_PKG_NAME' is not safe for on-device builds."
|
|
|
|
fi
|
|
|
|
|
2015-06-13 01:03:31 +02:00
|
|
|
rm -Rf $TERMUX_PREFIX/bin/*pkg-config
|
|
|
|
}
|