1 # Description: Small utilities that use the /proc filesystem
2 # URL: http://psmisc.sourceforge.net/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.gz \
16 cat > config.cache << EOF
17 ac_cv_func_malloc_0_nonnull=yes
18 ac_cv_func_realloc_0_nonnull=yes
21 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740275
22 patch -p1 -i $SRC/fuseropts.patch
24 ./configure --build=$CHOST \
28 --cache-file=config.cache
31 make DESTDIR=$PKG install
32 rm -f $PKG/usr/bin/pstree.x11