Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: funtoo.org
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (33 sloc) 1.019 kb
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/shnflacverify/shnflacverify-0.3.ebuild,v 1.1 2011/10/23 19:32:23 sbriesen Exp $
EAPI=4
inherit eutils
DESCRIPTION="This program helps manage the verification of checksums related to Shorten and FLAC files"
HOMEPAGE="http://sourceforge.net/projects/shnflacverify/"
SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
dev-lang/perl
app-arch/unzip
media-libs/flac
media-sound/shntool
sys-apps/coreutils"
S="${WORKDIR}"
src_prepare() {
local X
edos2unix *.txt
for X in flac md5sum shntool metaflac; do
einfo "setting \$${X}_cmd to $(type -p ${X})"
sed -i -e "s|^\(\$${X}_cmd\s*=\s*'\)[^']*\('.*\)|\1$(type -p ${X})\2|g" shnflac*
done
}
src_install() {
local X
for X in *.pl; do newbin "${X}" "${X%.*}"; done
newdoc README.txt README
}
Jump to Line
Something went wrong with that request. Please try again.