summaryrefslogtreecommitdiff
blob: b94a7881733cde423aec07e536fe81a2814d4339 (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
# 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/e2fsprogs/e2fsprogs-1.18-r1.ebuild,v 1.3 2000/09/15 20:09:17 drobbins Exp $
P=e2fsprogs-1.18      
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Standard ext2 filesystem utilities"
SRC_URI="ftp://tsx-11.mit.edu/pub/linux/packages/ext2fs/e2fsprogs-1.18.tar.gz"
HOMEPAGE="http://web.mit.edu/tytso/www/linux/e2fsprogs.html"


src_compile() {                           
	try ./configure --host=${CHOST} --enable-elf-shlibs
	try make
}

src_install() {                               
	into /usr
	try make DESTDIR=${D} install
	try make DESTDIR=${D} install-libs
	gzip -9 ${D}/usr/man/man?/*
	if [ -z "DBUG" ]
	then
		strip ${D}/sbin/*
		strip ${D}/usr/sbin/*
		strip ${D}/usr/bin/*
		strip --strip-unneeded ${D}/lib/*.so*
		strip --strip-unneeded ${D}/usr/lib/*.so*
	fi
	dodoc COPYING ChangeLog README RELEASE-NOTES 
}