summaryrefslogtreecommitdiff
blob: a20319a13c5e2e4e74241df5f6052131dd012f37 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/lxsplit/lxsplit-0.1.1.ebuild,v 1.4 2003/02/13 09:05:50 vapier Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Command-line file splitter/joiner for Linux."
SRC_URI="http://www.freebyte.com/download/lxsplit.tar.gz"
HOMEPAGE="http://remenic.2y.net/lxsplit/"

KEYWORDS="x86 ppc"
LICENSE="GPL-2"
SLOT="0"

src_compile() {
	sed "s/^\(CFLAGS[[:space:]]=[[:space:]]\)\(.*\)$/\1${CFLAGS}/" Makefile > Makefile.new
	mv --force Makefile.new Makefile
	emake || die
}

src_install () {
	
	dobin lxsplit	

	# Install documentation.
	dodoc ChangeLog README
}