summaryrefslogtreecommitdiff
blob: c199fb275aa45934f22c20240d8902adbe3834fa (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
32
33
34
35
36
37
38
39
40
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/debianutils/debianutils-1.13.3-r1.ebuild,v 1.4 2000/11/30 23:14:32 achim Exp $

P=debianutils-1.13.3     
A=debianutils_1.13.3.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="A selection of tools from Debian"
SRC_URI="ftp://ftp.debian.org/debian/dists/potato/main/source/base/${A}"

DEPEND=">=sys-libs/glibc-2.1.3"
RDEPEND="$DEPEND
	 >=sys-apps/bash-2.04"

src_compile() {                           
	try pmake
}

src_unpack() {
    unpack ${A}
    cd ${S}
    mv Makefile Makefile.orig
    sed -e "s/-O2 -g/${CFLAGS}/" Makefile.orig > Makefile
}

src_install() {    
                           
	into /
	dobin run-parts readlink tempfile mktemp 
	insopts -m755
	insinto /usr/sbin
	doins savelog
	doman run-parts.8 readlink.1 tempfile.1 mktemp.1 savelog.8
	dodoc debian/changelog debian/control debian/copyright

}