From 3de9b740d266d841a0ad84c57a4f98dcf35b4781 Mon Sep 17 00:00:00 2001 From: Kent Fritz Date: Sat, 30 Jun 2012 12:33:18 -0400 Subject: system/dfc: Added (disk usage in color) Signed-off-by: dsomero --- system/dfc/README | 2 ++ system/dfc/dfc.SlackBuild | 81 +++++++++++++++++++++++++++++++++++++++++++++++ system/dfc/dfc.info | 10 ++++++ system/dfc/slack-desc | 19 +++++++++++ 4 files changed, 112 insertions(+) create mode 100644 system/dfc/README create mode 100644 system/dfc/dfc.SlackBuild create mode 100644 system/dfc/dfc.info create mode 100644 system/dfc/slack-desc diff --git a/system/dfc/README b/system/dfc/README new file mode 100644 index 0000000000..f3deaac184 --- /dev/null +++ b/system/dfc/README @@ -0,0 +1,2 @@ +Dfc displays file system space usage using graphs and colors, and also +supports output in csv and html formats. diff --git a/system/dfc/dfc.SlackBuild b/system/dfc/dfc.SlackBuild new file mode 100644 index 0000000000..aa84429bf5 --- /dev/null +++ b/system/dfc/dfc.SlackBuild @@ -0,0 +1,81 @@ +#!/bin/sh + +# Slackware build script for dfc + +# Written by Kent Fritz /dev/null || true + +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/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/dfc/dfc.info b/system/dfc/dfc.info new file mode 100644 index 0000000000..cf25807f9a --- /dev/null +++ b/system/dfc/dfc.info @@ -0,0 +1,10 @@ +PRGNAM="dfc" +VERSION="3.0.0" +HOMEPAGE="http://projects.gw-computing.net/projects/dfc" +DOWNLOAD="http://projects.gw-computing.net/attachments/download/63/dfc-3.0.0.tar.gz" +MD5SUM="6c64c6b6c3bcf6e82376cbb2bc7bce9d" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Kent Fritz" +EMAIL="fritz.kent@gmail.com" +APPROVED="dsomero" diff --git a/system/dfc/slack-desc b/system/dfc/slack-desc new file mode 100644 index 0000000000..30be71bfaf --- /dev/null +++ b/system/dfc/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +dfc: dfc (disk usage in color) +dfc: +dfc: Dfc displays file system space usage using graphs and colors, and +dfc: also supports output in csv and html formats. +dfc: +dfc: +dfc: +dfc: +dfc: +dfc: +dfc: -- cgit v1.2.3