pantry/projects/gnu.org/autoconf/package.yml

56 lines
1.2 KiB
YAML
Raw Normal View History

distributable:
replace hardcoded versions (mostly) (#1733) * update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
2023-05-01 20:14:59 +03:00
url: https://ftp.gnu.org/gnu/autoconf/autoconf-{{ version.raw }}.tar.gz
strip-components: 1
versions:
replace hardcoded versions (mostly) (#1733) * update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
2023-05-01 20:14:59 +03:00
url: https://ftp.gnu.org/gnu/autoconf/
match: /autoconf-(\d+\.\d+(\.\d+)?)\.tar\.gz/
strip:
- /autoconf-/
- /.tar.gz/
provides:
- bin/autoconf
- bin/autoheader
- bin/autom4te
- bin/autoreconf
- bin/autoscan
- bin/autoupdate
- bin/ifnames
dependencies:
gnu.org/m4: 1
2022-08-23 00:33:05 +03:00
perl.org: '*'
build:
dependencies:
2022-09-18 19:01:10 +03:00
git-scm.org: 2
script: |-
./configure \
--build={{ hw.target }} \
--prefix="{{ prefix }}"
make --jobs {{ hw.concurrency }} install
2022-09-25 15:41:58 +03:00
cd "{{prefix}}"
2022-09-18 19:01:10 +03:00
2022-09-25 15:41:58 +03:00
fix-shebangs.ts bin/*
2022-09-18 19:01:10 +03:00
2022-09-25 15:41:58 +03:00
perl -pi -e 's|\x27{{prefix}}|"\$PREFIX"\x27|g' bin/autoconf
2022-09-18 19:01:10 +03:00
# fix specific m4 and perl paths
2022-09-25 15:41:58 +03:00
perl -pi -e 's|{{ deps.perl.org.prefix }}/bin/perl|perl|g' bin/*
perl -pi -e 's|{{ deps.gnu.org/m4.prefix }}/bin/m4|m4|g' bin/*
2022-09-18 19:01:10 +03:00
# fix hardcoded paths
2022-09-25 15:41:58 +03:00
perl -pi -e "s|'{{prefix}}/|\\\$prefix.'/|" bin/*
git apply $SRCROOT/props/relocatable.diff
2022-09-18 19:01:10 +03:00
2022-09-25 15:41:58 +03:00
perl -pi -e 's|{{prefix}}|\$PREFIX|' share/autoconf/autom4te.cfg
2022-09-18 19:01:10 +03:00
2022-09-01 01:02:46 +03:00
test:
script: |
2022-09-18 19:01:10 +03:00
autoconf --verbose --debug
2022-09-01 01:02:46 +03:00
./configure
test -f config.status
test -f config.log