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 | |
499f8263 | 8 | version=22.13 |
6dca1d21 JB |
9 | release=1 |
10 | source=(http://dl.sourceforge.net/$name/$name-$version.tar.gz) | |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
14 | ||
15 | cat > config.cache << EOF | |
16 | ac_cv_func_malloc_0_nonnull=yes | |
17 | ac_cv_func_realloc_0_nonnull=yes | |
18 | EOF | |
19 | ||
20 | ./configure --build=$CHOST \ | |
21 | --host=$CTARGET \ | |
22 | --prefix=/usr \ | |
23 | --disable-nls \ | |
24 | --mandir=/usr/man \ | |
25 | --cache-file=config.cache | |
bc9c77b5 | 26 | |
6dca1d21 JB |
27 | make |
28 | make DESTDIR=$PKG install | |
499f8263 | 29 | rm -f $PKG/usr/bin/pstree.x11 |
6dca1d21 | 30 | } |