summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-10-08 10:29:50 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-10-08 10:29:50 +0000
commit493e3f1b5585d22520b27c762519abccfdae3196 (patch)
tree6569cf0045e3b161c87415e581d97b6fc8e2bd64 /dev-libs/libebml/libebml-0.7.1-r1.ebuild
parentchange download location because of upstream renaming of package to conform w... (diff)
downloadgentoo-2-493e3f1b5585d22520b27c762519abccfdae3196.tar.gz
gentoo-2-493e3f1b5585d22520b27c762519abccfdae3196.tar.bz2
gentoo-2-493e3f1b5585d22520b27c762519abccfdae3196.zip
multilib fixes in existing versions. Revbump to build shared library.
Diffstat (limited to 'dev-libs/libebml/libebml-0.7.1-r1.ebuild')
-rw-r--r--dev-libs/libebml/libebml-0.7.1-r1.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libebml/libebml-0.7.1-r1.ebuild b/dev-libs/libebml/libebml-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..a9e225d29e96
--- /dev/null
+++ b/dev-libs/libebml/libebml-0.7.1-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/libebml-0.7.1-r1.ebuild,v 1.1 2004/10/08 10:28:57 eradicator Exp $
+
+IUSE=""
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="Extensible binary format library (kinda like XML)"
+HOMEPAGE="http://www.matroska.org/"
+SRC_URI="http://www.bunkus.org/videotools/mkvtoolnix/sources/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~hppa ~amd64 ~ia64"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-shared.patch
+}
+
+src_compile() {
+ cd ${S}/make/linux
+
+ # This fix is necessary due to libebml being used to generate
+ # shared libraries, such as the vlc plugin for mozilla. on archs
+ # that require shared objects to be compiled with -fPIC, this
+ # really shouldn't happen, but libebml doesn't produce an so.
+ # Travis Tilley <lv@gentoo.org>
+ append-flags -fPIC
+
+ sed -i -e 's/CXXFLAGS=/CXXFLAGS+=/g' Makefile
+ make PREFIX=/usr || die "make failed"
+}
+
+src_install() {
+ cd ${S}/make/linux
+ einstall libdir="${D}/usr/$(get_libdir)" || die "make install failed"
+ dodoc ${S}/LICENSE.*
+}