summaryrefslogtreecommitdiff
blob: c30905b5ba4917604a489fdc8ab899cae0fa8310 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/media-sound/shorten/shorten-3.2.ebuild,v 1.2 2001/05/28 05:24:13 achim Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Open source, popular and fast lossless audio compressor"
SRC_URI="http://shnutils.freeshell.org/misc/shorten-3.2.tar.gz"
DEPEND="virtual/glibc"

src_unpack() {
	unpack ${A}
	cd ${S}
	mv Makefile Makefile.orig
	sed -e "s:-O:${CFLAGS}:g" -e 's:/usr/local:/usr:g' Makefile.orig > Makefile
}

src_compile() {                           
	try make
}

src_install() {                               
	try make DESTDIR=${D}/usr install
	dodoc LICENSE
}