CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gawk: updated to 4.1.0 and fixed build to use host's gawk
[crossrootfs.git]
/
gawk
/
Pkgfile
diff --git
a/gawk/Pkgfile
b/gawk/Pkgfile
index b9bc5b427853a0a690cafdcf40269f6158c6be8b..f31786c9ce97653456c34e4dcb00eb0a860c7fa5 100644
(file)
--- a/
gawk/Pkgfile
+++ b/
gawk/Pkgfile
@@
-5,7
+5,7
@@
# Depends on:
name=gawk
# Depends on:
name=gawk
-version=4.
0.1
+version=4.
1.0
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
@@
-18,12
+18,14
@@
build() {
--mandir=/usr/man \
--enable-switch \
--disable-nls
--mandir=/usr/man \
--enable-switch \
--disable-nls
+
+ # Use host's gawk
+ sed "s|../gawk\$(EXEEXT)|gawk|g" -i extension/Makefile.in
+
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/info
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/info
- rm $PKG/usr/bin/{gawk,pgawk}-$version \
- $PKG/usr/man/man1/pgawk.1
-
- ln -sf gawk.1.gz $PKG/usr/man/man1/awk.1.gz
+ rm $PKG/usr/bin/gawk-$version
+ rm $PKG/usr/lib/gawk/*.la
}
}