summaryrefslogtreecommitdiff
path: root/recipes/di/di_4.17.bb
blob: 9b04df8c247793a59c65627caf3bb129c3cb0e13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DESCRIPTION = "di is a disk information utility, displaying everything (and more) that your df(1) command does. It features the ability to display your disk usage in whatever format you desire/prefer/are used to. It is designed to be portable across many platforms. "
HOMEPAGE = "http://www.gentoo.com/di/"
LICENSE = "MIT-style"
SECTION = "base"
DEPENDS = "perl-native"

SRC_URI = "http://www.gentoo.com/di/di-${PV}.tar.gz"

do_install() {
	# install binary
	install -d ${D}${bindir}
	install -m 0755 ${S}/di ${D}${bindir}

	# install manpage
	install -d ${D}${mandir}/man1
	install -m 0644 ${S}/di.1 ${D}${mandir}/man1
}