diff options
Diffstat (limited to 'system/forkstat/forkstat.SlackBuild')
-rw-r--r-- | system/forkstat/forkstat.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/system/forkstat/forkstat.SlackBuild b/system/forkstat/forkstat.SlackBuild index 73fe6b92ca..97fcb18f79 100644 --- a/system/forkstat/forkstat.SlackBuild +++ b/system/forkstat/forkstat.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=forkstat -VERSION=${VERSION:-0.01.11} +VERSION=${VERSION:-0.01.12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,16 +74,17 @@ make prefix=/usr DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +mkdir -p $PKG/usr/bin +install -Dm755 forkstat $PKG/usr/bin/forkstat + mkdir -p $PKG/usr/man/man8 -cp -a forkstat.8 $PKG/usr/man/man8 +install -D -m644 forkstat.8 $PKG/usr/man/man8/forkstat.8 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -mkdir -p $PKG/usr/bin -cp -a forkstat $PKG/usr/bin - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |