Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2278

Summary: yencode-0.46.ebuild
Product: Gentoo Linux Reporter: Per Wigren <tuxie>
Component: New packagesAssignee: Ryan Phillips (RETIRED) <rphillips>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Per Wigren 2002-04-30 09:21:33 UTC
yEnc is the new defacto-standard encoding for binaries on Usenet. It uses all 
printable characters in 8-bit ASCII instead of 7-bit, resulting in about 30% 
smaller files than base64 and uuencode. The package contains:

yencode: yEnc encoder
ydecode: yEnc decoder
ypost: A tool for posting yEnc-encoded binaries on Usenet.

::::::net-news/yencode-0.46.ebuild:::::
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Per Wigren <wigren@home.se>
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.4 2002/03/12 16:05:09 tod Exp

S=${WORKDIR}/${P}
DESCRIPTION="yEnc encoder/decoder package"
SRC_URI="http://prdownloads.sourceforge.net/yencode/${P}.tar.gz"
HOMEPAGE="http://www.yencode.org"

DEPEND=""

src_compile() {
        local myconf
        use nls || myconf="--disable-nls"

        ./configure \
                --host=${CHOST} \
                --prefix=/usr \
                --infodir=/usr/share/info \
                --mandir=/usr/share/man \
                ${myconf} || die "./configure failed"

        emake || die
}

src_install () {
        make \
                prefix=${D}/usr \
                mandir=${D}/usr/share/man \
                infodir=${D}/usr/share/info \
                install || die

        dodoc AUTHORS COPYING NEWS README ChangeLog
        doman doc/ydecode.1 doc/yencode.1 doc/ypost.1 doc/ypostrc.5
}
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-05-02 01:10:17 UTC
committed