diff options
Diffstat (limited to 'app-arch/unrar/unrar-3.4.3-r1.ebuild')
-rw-r--r-- | app-arch/unrar/unrar-3.4.3-r1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-arch/unrar/unrar-3.4.3-r1.ebuild b/app-arch/unrar/unrar-3.4.3-r1.ebuild new file mode 100644 index 0000000..d4713f1 --- /dev/null +++ b/app-arch/unrar/unrar-3.4.3-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/unrar/unrar-3.4.3.ebuild,v 1.11 2005/04/08 10:49:37 corsair Exp $ + +#SDS +inherit eutils +#EDS + +MY_PN=${PN}src +DESCRIPTION="Uncompress rar files" +HOMEPAGE="http://www.rarlab.com/rar_add.htm" +SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz" + +LICENSE="unRAR" +SLOT="0" +KEYWORDS="alpha amd64 hppa ppc ppc64 ppc-macos sparc x86" +IUSE="" + +DEPEND="!app-arch/unrar-gpl" + +S="${WORKDIR}/unrar" + +#SDS +src_unpack() { + unpack ${A} + cd "${S}" +# EPATCH_OPTS="-p1" epatch ${FILESDIR}/unrar-3.4.3_fix.patch || die +} +#EDS + +src_compile() { + emake -f makefile.unix CXXFLAGS="$CXXFLAGS" || die "emake failed" +#SDS +# emake -f makefile.unix CXXFLAGS="$CXXFLAGS" lib || die "emake failed" +#EDS +} + +src_install() { + dobin unrar || die "dobin failed" + dodoc readme.txt +#SDS + EPATCH_OPTS="-p1" epatch ${FILESDIR}/unrar-3.4.3_fix.patch || die + emake -f makefile.unix CXXFLAGS="$CXXFLAGS" clean || die "emake failed" + emake -f makefile.unix CXXFLAGS="$CXXFLAGS" lib || die "emake failed" + + mkdir -p ${D}/usr/lib/ + mkdir -p ${D}/usr/include/libunrar3/ + install -s -D -m 755 libunrar3.so ${D}/usr/lib/libunrar3.so + install -D -m 644 dll.hpp ${D}/usr/include/libunrar3/dll.hpp +#EDS +} |