Commit | Line | Data |
---|---|---|
6dca1d21 JB |
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 | |
b751b192 | 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6dca1d21 JB |
5 | # Depends on: ncurses |
6 | ||
7 | name=psmisc | |
e02246e4 VM |
8 | version=23.1 |
9 | release=1 | |
10 | source=(http://downloads.sourceforge.net/project/$name/$name/$name-$version.tar.xz | |
7f97a154 | 11 | fuseropts.patch) |
6dca1d21 JB |
12 | |
13 | build() { | |
14 | cd $name-$version | |
15 | ||
16 | cat > config.cache << EOF | |
17 | ac_cv_func_malloc_0_nonnull=yes | |
18 | ac_cv_func_realloc_0_nonnull=yes | |
19 | EOF | |
20 | ||
7f97a154 | 21 | # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740275 |
e02246e4 | 22 | # patch -p1 -i $SRC/fuseropts.patch |
7f97a154 | 23 | |
6dca1d21 JB |
24 | ./configure --build=$CHOST \ |
25 | --host=$CTARGET \ | |
26 | --prefix=/usr \ | |
27 | --disable-nls \ | |
6dca1d21 | 28 | --cache-file=config.cache |
bc9c77b5 | 29 | |
6dca1d21 JB |
30 | make |
31 | make DESTDIR=$PKG install | |
499f8263 | 32 | rm -f $PKG/usr/bin/pstree.x11 |
6dca1d21 | 33 | } |