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.
58 lines
1.2 KiB
58 lines
1.2 KiB
4 years ago
|
# Copyright 1999-2020 Gentoo Authors
|
||
11 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=5
|
||
|
|
||
|
inherit perl-module
|
||
|
|
||
|
DESCRIPTION="A collection of Perl-scripts for iPod"
|
||
9 years ago
|
HOMEPAGE="https://www.gnu.org/software/gnupod/"
|
||
11 years ago
|
SRC_URI="http://blinkenlights.ch/gnupod-dist/stable/${P}.tgz"
|
||
|
|
||
|
LICENSE="GPL-3"
|
||
|
SLOT="0"
|
||
11 years ago
|
KEYWORDS="amd64 ppc ppc64 x86"
|
||
11 years ago
|
IUSE="aac ffmpeg flac mp3 ogg"
|
||
|
|
||
|
RDEPEND="dev-perl/TimeDate
|
||
|
dev-perl/XML-Parser
|
||
|
>=dev-perl/MP3-Info-1.01
|
||
|
dev-perl/Unicode-String
|
||
|
dev-perl/Digest-SHA1
|
||
|
dev-perl/libwww-perl
|
||
4 years ago
|
ffmpeg? ( media-video/ffmpeg )
|
||
|
flac? (
|
||
|
dev-perl/Audio-FLAC-Header
|
||
|
media-libs/flac
|
||
|
aac? ( >=media-libs/faac-1.24 )
|
||
|
mp3? ( media-sound/lame )
|
||
|
!aac? ( media-sound/lame )
|
||
|
)
|
||
|
ogg? (
|
||
|
dev-perl/Ogg-Vorbis-Header-PurePerl
|
||
|
media-sound/vorbis-tools
|
||
|
aac? ( >=media-libs/faac-1.24 )
|
||
|
mp3? ( media-sound/lame )
|
||
|
!aac? ( media-sound/lame )
|
||
|
)"
|
||
11 years ago
|
DEPEND="${RDEPEND}"
|
||
|
|
||
|
src_configure() {
|
||
|
econf
|
||
|
}
|
||
|
|
||
9 years ago
|
src_compile() {
|
||
|
:;
|
||
|
}
|
||
|
|
||
11 years ago
|
src_install() {
|
||
10 years ago
|
perl_set_version
|
||
9 years ago
|
sed -i -e "s:\$INC\[0\]/\$modi:${VENDOR_ARCH}/\$modi:g" \
|
||
11 years ago
|
tools/gnupod_install.pl || die
|
||
|
|
||
9 years ago
|
emake DESTDIR="${D}" install
|
||
11 years ago
|
|
||
|
dodoc CHANGES README* doc/gnupodrc.example doc/gnutunesdb.example
|
||
|
dohtml doc/gnupod.html
|
||
|
}
|