blob: d5ac022a4061fe3726b830851c2b23e6aafcef2b (
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
|
# Copyright 1999-2006 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.1.ebuild,v 1.12 2006/11/12 04:37:21 vapier Exp $
inherit eutils toolchain-funcs
DESCRIPTION="Another uncompressor for compatibility"
HOMEPAGE="http://ncompress.sourceforge.net/"
SRC_URI="mirror://sourceforge/ncompress/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE=""
src_compile() {
sed \
-e "s:options= :options= ${CFLAGS} -DNOFUNCDEF :" \
-e "s:CC=cc:CC=$(tc-getCC):" \
Makefile.def > Makefile
make || die
}
src_install() {
dobin compress || die
dosym compress /usr/bin/uncompress
doman compress.1
dodoc Acknowleds Changes LZW.INFO README
}
|