blob: 1a3c47eb66d03a2fdbded8eda8601e73030ac7cd (
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-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Joe Bormolini <lordjoe@gentoo.org>
A=unrar250.zip
S=${WORKDIR}/${P}
DESCRIPTION="Uncompress rar files"
SRC_URI="ftp://ftp.elf.stuba.sk/pub/pc/pack/${A}"
HOMEPAGE="ftp://ftp.elf.stuba.sk/pub/pc/pack"
DEPEND="virtual/glibc"
RDEPEND="virtual/glibc"
# Might be more depends... probably not, though
src_compile() {
# Many many warnings... but seems to work okay
cd src
mv Makefile Makefile.orig
sed -e "s:-O2:${CFLAGS}:" -e "s:-Wall::" Makefile.orig > Makefile
try make
}
src_install() {
dobin src/unrar
dodoc readme.txt license.txt
}
|