Mercurial > vanilla
comparison dev/autoconf213/autoconf213.sh @ 480:1100f4b43d48
dev/autoconf213: initial import, closes #1573
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 07 Apr 2019 10:16:28 +0200 |
parents | |
children | c6c29dc90899 |
comparison
equal
deleted
inserted
replaced
479:04b89eec8923 | 480:1100f4b43d48 |
---|---|
1 #!/bin/sh | |
2 # | |
3 # Copyright (c) 2019 David Demelier <markand@malikania.fr> | |
4 # | |
5 # Permission to use, copy, modify, and/or distribute this software for any | |
6 # purpose with or without fee is hereby granted, provided that the above | |
7 # copyright notice and this permission notice appear in all copies. | |
8 # | |
9 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
10 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | |
11 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | |
12 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | |
13 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | |
14 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | |
15 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | |
16 # | |
17 | |
18 PKGNAME=autoconf213 | |
19 PKGVERSION=2.13 | |
20 PKGREVISION=1 | |
21 PKGLICENSE="GPLv2+ GPLv3+" | |
22 PKGSUMMARY="GNU tool for configuring source code (legacy)" | |
23 PKGDOWNLOAD="ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-$PKGVERSION.tar.gz" | |
24 PKGDEPENDS="dev/m4 dev/make:build perl/perl" | |
25 | |
26 build() | |
27 { | |
28 rm -rf autoconf-$PKGVERSION | |
29 tar xvaf autoconf-$PKGVERSION.tar.gz | |
30 pushd autoconf-$PKGVERSION | |
31 | |
32 # http://www.linuxfromscratch.org/blfs/view/svn/general/autoconf213.html | |
33 patch -p1 < ../autoconf.patch | |
34 mv autoconf.texi autoconf213.texi | |
35 rm autoconf.info | |
36 ./configure --prefix=/usr --program-suffix=-2.13 | |
37 make | |
38 make install DESTDIR=$DESTDIR | |
39 | |
40 popd | |
41 rm -rf autoconf-$PKGVERSION | |
42 } |