blob: e397ca76c149d089b9e1101e99a745aeddc3313b (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/ncompress/ncompress-4.2.4.ebuild,v 1.26 2004/06/24 21:33:40 agriffis Exp $
inherit eutils
DESCRIPTION="Another uncompressor for compatibility"
HOMEPAGE="ftp://ftp.leo.org/pub/comp/os/unix/linux/sunsite/utils/compress/"
SRC_URI="ftp://ftp.leo.org/pub/comp/os/unix/linux/sunsite/utils/compress/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64 s390"
IUSE="build"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/ncompress-gcc34.patch
}
src_compile() {
sed -e "s:options= :options= ${CFLAGS} :" \
-e "s:CC=cc:CC=${CC:-gcc}:" Makefile.def > Makefile
make || die
}
src_install() {
dobin compress || die
dosym compress /usr/bin/uncompress
use build || doman compress.1
}
|