summaryrefslogtreecommitdiffstats
path: root/base/psmisc/Pkgfile
blob: 77d9d5bdda83539e01a7c83615ee4410c75273ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Description: Petits utilitaires qui utilisent le système de fichiers /proc
# URL: http://psmisc.sourceforge.net/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: ncurses

name=psmisc
version=22.6
release=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.gz)

build() {
    cd $name-$version
    ./configure --prefix=/usr \
                --mandir=/usr/share/man \
                --exec-prefix=""
    make -j2
    make DESTDIR=$PKG install
    mkdir -p $PKG/usr/bin
    mv -v $PKG/bin/pstree* $PKG/usr/bin/
}