1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
8 MY_P=${P/iripdb/iRipDB}
11 DESCRIPTION="Allows generating the DB files necessary for the iRiver iHP-1xx"
12 HOMEPAGE="http://www.fataltourist.com/iripdb/"
13 SRC_URI="http://www.fataltourist.com/iripdb/${MY_P}.zip"
17 KEYWORDS="~x86 ~ppc ~amd64"
20 RDEPEND="media-libs/taglib
26 echo "$(tc-getCXX) ${CXXFLAGS} -c -o main.o main.cpp"
27 $(tc-getCXX) ${CXXFLAGS} -c -o main.o -I/usr/include/taglib main.cpp
28 echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o iripdb main.o -lz -lm -ltag -lstdc++"
29 $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o iripdb main.o -lz -lm -ltag -lstdc++
34 dodoc AUTHORS README doc/iRivDB_structure || die