blob: b8231fc0dd4f3560101678c1069b909b8ceaa1db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/freebsd-stat/freebsd-stat-5.3_p20050202.ebuild,v 1.2 2005/02/03 19:16:52 kito Exp $
DESCRIPTION="FreeBSD stat, readlink - display file status"
HOMEPAGE="http://www.freebsd.org/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~ppc-macos"
IUSE="build"
DEPEND="virtual/libc"
src_compile() {
gcc -v -o stat stat.c ${CFLAGS} || die "compilation of stat failed"
}
src_install() {
dobin stat
dosym stat /usr/bin/readlink
if ! use build; then
doman stat.1
dosym stat.1.gz /usr/share/man/man1/readlink.1.gz
fi
}
|