autoconf-archive: new recipe (#3528)

This commit is contained in:
Schrijvers Luc
2019-01-03 17:01:33 +01:00
committed by Jérôme Duval
parent b30f8948c0
commit 91d4913d15
2 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
SUMMARY="A collection of freely re-usable Autoconf macros"
DESCRIPTION="The GNU Autoconf Archive is a collection of more than 500 macros \
for [GNU Autoconf](https://www.gnu.org/software/autoconf) that have been \
contributed as free software by friendly supporters of the cause from all \
over the Internet. Every single one of those macros can be re-used without \
imposing any restrictions whatsoever on the licensing of the generated \
configure script. In particular, it is possible to use all those macros in \
configure scripts that are meant for non-free software. This policy is unusual \
for a Free Software Foundation project. The FSF firmly believes that software \
ought to be free, and software licenses like the GPL are specifically \
designed to ensure that derivative work based on free software must be \
free as well. In case of Autoconf, however, an exception has been made, \
because Autoconf is at such a pivotal position in the software development \
tool chain that the benefits from having this tool available as widely as \
possible outweigh the disadvantage that some authors may choose to use it, \
too, for proprietary software."
HOMEPAGE="https://www.gnu.org/software/autoconf-archive/"
COPYRIGHT="2018 Autoconf Archive Maintainers"
LICENSE="GNU GPL v3
Autoconf Configure Script Exception v3.0"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2018.03.13.tar.xz"
CHECKSUM_SHA256="6175f90d9fa64c4d939bdbb3e8511ae0ee2134863a2c7bf8d9733819efa6e159"
SOURCE_DIR="autoconf-archive-2018.03.13"
ARCHITECTURES="any"
PROVIDES="
autoconf_archive = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:cmp
cmd:make
cmd:makeinfo
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
rm -f "$dataDir"/autoconf-archive/COPYING*
}

View File

@@ -0,0 +1,43 @@
AUTOCONF CONFIGURE SCRIPT EXCEPTION
Version 3.0, 18 August 2009
Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This Exception is an additional permission under section 7 of the GNU
General Public License, version 3 ("GPLv3"). It applies to a given
file that bears a notice placed by the copyright holder of the file
stating that the file is governed by GPLv3 along with this Exception.
The purpose of this Exception is to allow distribution of Autoconf's
typical output under terms of the recipient's choice (including
proprietary).
0. Definitions
"Covered Code" is the source or object code of a version of Autoconf
that is a covered work under this License.
"Normally Copied Code" for a version of Autoconf means all parts of
its Covered Code which that version can copy from its code (i.e., not
from its input file) into its minimally verbose, non-debugging and
non-tracing output.
"Ineligible Code" is Covered Code that is not Normally Copied Code.
1. Grant of Additional Permission.
You have permission to propagate output of Autoconf, even if such
propagation would otherwise violate the terms of GPLv3. However, if
by modifying Autoconf you cause any Ineligible Code of the version you
received to become Normally Copied Code of your modified version, then
you void this Exception for the resulting covered work. If you convey
that resulting covered work, you must remove this Exception in accordance
with the second paragraph of Section 7 of GPLv3.
2. No Weakening of Autoconf Copyleft.
The availability of this Exception does not imply any general presumption
that third-party software is unaffected by the copyleft requirements of
the license of Autoconf.