blob: 90d5e8de2522138315c0046d7d6664978f49d84c (
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
30
31
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/id3lib/id3lib-3.8.3-r1.ebuild,v 1.11 2004/03/26 16:27:25 eradicator Exp $
MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Id3 library for C/C++"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
HOMEPAGE="http://id3lib.sourceforge.net/"
SLOT="0"
LICENSE="LGPL-2.1"
KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64 ~mips"
IUSE=""
DEPEND="virtual/glibc"
export CPPFLAGS="${CPPFLAGS} -Wno-deprecated"
src_install() {
make DESTDIR=${D} install || die "Install failed"
dosym /usr/lib/libid3-3.8.so.3 /usr/lib/libid3-3.8.so.0.0.0
dosym /usr/lib/libid3-3.8.so.0.0.0 /usr/lib/libid3-3.8.so.0
dodoc AUTHORS COPYING ChangeLog HISTORY INSTALL README THANKS TODO
# some example programs to be placed in docs dir.
make clean
cp -a examples ${D}/usr/share/doc/${PF}/examples
}
|