mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-14 07:15:24 +01:00
Bootstrap aclocal.
This commit is contained in:
parent
bb4d24509e
commit
52cdbad405
11 changed files with 86 additions and 96 deletions
|
|
@ -4,12 +4,9 @@
|
|||
|
||||
src_compile() {
|
||||
cp autoconf.in autoconf
|
||||
sed -i "s# @SHELL@#/bin/sh#" autoconf
|
||||
sed -i 's/@M4@/m4/' autoconf
|
||||
sed -i 's/@AWK@/awk/' autoconf
|
||||
sed -i 's/@PACKAGE_NAME@/Autoconf/' autoconf
|
||||
sed -i 's/@VERSION@/2.52/' autoconf
|
||||
sed -i "s#@datadir@#${PREFIX}/share/autoconf-2.52#" autoconf
|
||||
sed -i -e "s# @SHELL@#/bin/sh#" -e 's/@M4@/m4/' -e 's/@AWK@/awk/' \
|
||||
-e 's/@PACKAGE_NAME@/Autoconf/' -e 's/@VERSION@/2.52/' \
|
||||
-e "s#@datadir@#${PREFIX}/share/autoconf-2.52#" autoconf
|
||||
chmod +x autoconf
|
||||
|
||||
m4 autoconf.m4 --freeze-state=autoconf.m4f
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ src_prepare() {
|
|||
|
||||
# Install autoconf data files into versioned directory
|
||||
for file in */Makefile.in Makefile.in; do
|
||||
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
|
||||
sed -i '/^pkgdatadir/s:$:-@VERSION@:' $file
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue