distribution/packages/devel/autoconf/package.mk

20 lines
760 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="autoconf"
PKG_VERSION="2.71"
PKG_SHA256="f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4"
PKG_LICENSE="GPL"
PKG_SITE="http://sources.redhat.com/autoconf/"
PKG_URL="http://ftpmirror.gnu.org/autoconf/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="ccache:host m4:host gettext:host"
PKG_LONGDESC="A GNU tool for automatically configuring source code."
PKG_CONFIGURE_OPTS_HOST="EMACS=no \
ac_cv_path_M4=${TOOLCHAIN}/bin/m4 \
ac_cv_prog_gnu_m4_gnu=no \
--target=${TARGET_NAME}"
post_makeinstall_host() {
make prefix=${SYSROOT_PREFIX}/usr install
}