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
bc: updated source
[crossrootfs.git]
/
iproute2
/
Pkgfile
diff --git
a/iproute2/Pkgfile
b/iproute2/Pkgfile
index 2c69943a9e5ed611daa822e180230f9839a6ca58..abf32f65a5165a16f40e098872b5603a9f38e55e 100644
(file)
--- a/
iproute2/Pkgfile
+++ b/
iproute2/Pkgfile
@@
-1,24
+1,24
@@
# Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
# Description: A collection of utilites for controlling TCP/IP networking and traffic in Linux
-# URL: http://
linux-net.osdl.org/index.php/I
proute2
+# URL: http://
www.linuxfoundation.org/collaborate/workgroups/networking/i
proute2
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: db
+# Depends on: db
iptables libcap
name=iproute2
name=iproute2
-version=
2.6.33
+version=
4.16.0
release=1
release=1
-source=(http
://developer.osdl.org/dev/iproute2/download/$name-$version.tar.bz2
\
- net.iproute2)
+source=(http
s://www.kernel.org/pub/linux/utils/net/$name/$name-$version.tar.xz
\
+
lo.iproute2
net.iproute2)
build() {
cd $name-$version
build() {
cd $name-$version
- sed -i "s|local/lib/iptables|lib/xtables|" include/iptables.h
- sed -i "s|gcc |$CC $CFLAGS|g" configure
+ ./configure --build=$CHOST \
+ --host=$CTARGET
+ make CCOPTS="$CFLAGS" CC="$CC" AR="$AR" RANLIB="$RANLIB" DBM_INCLUDE="-I$CLFS/usr/include" HOSTCC="gcc" CCOPTS="-O2 -pipe"
+ make MANDIR=/usr/share/man DESTDIR=$PKG install
- make DBM_INCLUDE="$CLFS/usr/include" CC="$CC $CFLAGS"
- make MANDIR=/usr/man DESTDIR=$PKG install
-
- rm -r $PKG/{share,usr/lib}
+ rm -r $PKG/usr/share/doc
+ install -D -m 0755 $SRC/lo.iproute2 $PKG/etc/rc.d/lo
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
}
install -D -m 0755 $SRC/net.iproute2 $PKG/etc/rc.d/net
}