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
util-linux: updated to 2.27.1
[crossrootfs.git]
/
procps
/
Pkgfile
diff --git
a/procps/Pkgfile
b/procps/Pkgfile
index 16088ff053dacd071a3095e4850a62d96e9f3e98..f956eb1e9fb7f6a1aed88a123ffb152a4284e25a 100644
(file)
--- a/
procps/Pkgfile
+++ b/
procps/Pkgfile
@@
-5,25
+5,35
@@
# Depends on: ncurses
name=procps
# Depends on: ncurses
name=procps
-version=3.2.8
-release=3
-source=(http://procps.sourceforge.net/$name-$version.tar.gz \
- sysctl.conf \
- $name-$version.patch \
- $name-$version-linux-ver-init.patch)
+version=3.3.9
+release=2
+source=(http://downloads.sourceforge.net/project/procps-ng/Production/$name-ng-$version.tar.xz
+ sysctl.conf)
build() {
build() {
- cd $name-$version
- patch -p1 -i $SRC/$name-$version.patch
- patch -p0 -i $SRC/$name-$version-linux-ver-init.patch
+ cd $name-ng-$version
+
+ cat > config.cache << EOF
+ac_cv_func_malloc_0_nonnull=yes
+ac_cv_func_realloc_0_nonnull=yes
+EOF
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --exec-prefix=/ \
+ --libdir=/usr/lib \
+ --sysconfdir=/etc \
+ --mandir=/usr/man \
+ --disable-kill \
+ --cache-file=config.cache
make
make
- make DESTDIR=$PKG \
- ldconfig=true \
- man1=$PKG/usr/man/man1/ \
- man5=$PKG/usr/man/man5/ \
- man8=$PKG/usr/man/man8/ \
- install
+ make DESTDIR=$PKG install
- install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf
+ install -d $PKG/{lib,etc}
+ mv $PKG/usr/bin/pidof $PKG/bin/
+ mv $PKG/usr/lib/libprocps.so.* $PKG/lib
+ ln -sf ../../lib/$(readlink $PKG/lib/libprocps.so.3) $PKG/usr/lib/libprocps.so
+ install -m 0644 $SRC/sysctl.conf $PKG/etc/sysctl.conf
}
}