2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="util-macros"
|
|
|
|
PKG_VERSION="1.19.3"
|
|
|
|
PKG_SHA256="0f812e6e9d2786ba8f54b960ee563c0663ddbe2434bf24ff193f5feab1f31971"
|
|
|
|
PKG_LICENSE="OSS"
|
|
|
|
PKG_SITE="http://www.X.org"
|
|
|
|
PKG_URL="http://xorg.freedesktop.org/archive/individual/util/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="X.org autoconf utilities such as M4 macros."
|
|
|
|
|
2022-07-02 01:39:43 +00:00
|
|
|
pre_configure_target() {
|
|
|
|
sed -i 's|^pkgconfigdir = .*|pkgconfigdir = /usr/lib/pkgconfig|' ${PKG_BUILD}/Makefile.am
|
|
|
|
sed -i 's|^pkgconfigdir = .*|pkgconfigdir = /usr/lib/pkgconfig|' ${PKG_BUILD}/Makefile.in
|
|
|
|
}
|
|
|
|
|
2022-02-05 14:23:32 +00:00
|
|
|
post_makeinstall_target() {
|
|
|
|
rm -rf ${INSTALL}/usr
|
|
|
|
}
|