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.
gentoo-overlay/app-arch/unace/unace-1.2b-r1.ebuild

43 lines
887 B

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-arch/unace/unace-1.2b-r1.ebuild,v 1.14 2007/09/17 01:09:44 jer Exp $
inherit eutils
DESCRIPTION="ACE unarchiver"
HOMEPAGE="http://www.winace.com/"
SRC_URI="http://wilma.vub.ac.be/~pdewacht/${P}.tar.gz"
LICENSE="GPL-2" #92846
SLOT="1"
KEYWORDS="~alpha amd64 hppa ppc ppc64 s390 x86"
IUSE=""
DEPEND=""
S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
cd "${S}"
cp unix/makefile .
cp unix/gccmaked .
epatch "${FILESDIR}"/unace-1.2b-CAN-2005-0160-CAN-2005-0161.patch
epatch "${FILESDIR}"/unace-1.2b-64bit.patch
}
src_compile() {
sed -i \
-e "s/^CFLAGS = -O.*/CFLAGS = -Wall ${CFLAGS}/g" \
-e "s/-DCASEINSENSE//g" \
makefile
emake dep || die
emake || die
}
src_install() {
dobin unace || die
dodoc readme.txt changes.log
}