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)
|
2023-05-09 19:21:47 +00:00
|
|
|
# Copyright (C) 2023-present Fewtarius
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_NAME="util-macros"
|
2023-05-09 19:21:47 +00:00
|
|
|
PKG_VERSION="1.20.0"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="OSS"
|
|
|
|
PKG_SITE="http://www.X.org"
|
2023-05-09 19:21:47 +00:00
|
|
|
PKG_URL="http://xorg.freedesktop.org/archive/individual/util/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
2022-02-05 14:23:32 +00:00
|
|
|
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
|
|
|
|
}
|