- make DESTDIR=$PKG \
- ldconfig=true \
- man1=$PKG/usr/man/man1/ \
- man5=$PKG/usr/man/man5/ \
- man8=$PKG/usr/man/man8/ \
- install
- install -D -m644 ../sysctl.conf $PKG/etc/sysctl.conf
+ make DESTDIR=$PKG install
+
+ install -d $PKG/{bin,lib,etc}
+ mv $PKG/usr/bin/{ps,pidof} $PKG/bin/
+ mv $PKG/usr/lib/libprocps.so.* $PKG/lib
+ ln -sf ../../lib/$(readlink $PKG/lib/libprocps.so.5) $PKG/usr/lib/libprocps.so
+ install -m 0644 $SRC/sysctl.conf $PKG/etc/sysctl.conf