You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
861 B
37 lines
861 B
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-text/tofrodos/tofrodos-1.7.9.ebuild,v 1.1 2011/04/02 13:24:18 patrick Exp $
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="text file conversion utility that converts ASCII files between the
|
|
MSDOS format and the Unix format"
|
|
HOMEPAGE="http://tofrodos.sourceforge.net/"
|
|
SRC_URI="http://tofrodos.sourceforge.net/download/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~hppa ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND=""
|
|
|
|
S="${WORKDIR}/${PN}/src"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
epatch "${FILESDIR}"/${PN}-1.7.8-CFLAGS.patch
|
|
}
|
|
|
|
src_compile() {
|
|
emake DEBUG=1 CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "Compile failed."
|
|
}
|
|
|
|
src_install() {
|
|
dobin fromdos || die
|
|
dosym fromdos /usr/bin/todos || die
|
|
doman fromdos.1 || die
|
|
}
|