summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2011-06-29 14:22:25 +0000
committerAlexis Ballier <aballier@gentoo.org>2011-06-29 14:22:25 +0000
commit2947ed9978665e8a6899c47b5216490ad95f4a12 (patch)
tree9505b956759b3cc5bf746e7842a257fe71326016 /dev-libs/libebml/libebml-1.2.1.ebuild
parent[sys-cluster/maui] Reloacte spool to var not to usr (diff)
downloadhistorical-2947ed9978665e8a6899c47b5216490ad95f4a12.tar.gz
historical-2947ed9978665e8a6899c47b5216490ad95f4a12.tar.bz2
historical-2947ed9978665e8a6899c47b5216490ad95f4a12.zip
version bump
Package-Manager: portage-2.2.0_alpha41/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libebml/libebml-1.2.1.ebuild')
-rw-r--r--dev-libs/libebml/libebml-1.2.1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-libs/libebml/libebml-1.2.1.ebuild b/dev-libs/libebml/libebml-1.2.1.ebuild
new file mode 100644
index 000000000000..852dd134aec6
--- /dev/null
+++ b/dev-libs/libebml/libebml-1.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/libebml-1.2.1.ebuild,v 1.1 2011/06/29 14:22:25 aballier Exp $
+
+EAPI=2
+
+inherit eutils multilib toolchain-funcs
+
+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="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${P}/make/linux"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.2.0-makefile-fixup.patch
+}
+
+src_compile() {
+ # keep the prefix in here to make sure the binary is built with a correct
+ # install_name on Darwin
+ emake \
+ prefix="${EPREFIX}/usr" \
+ CC="$(tc-getCC)" \
+ CXX="$(tc-getCXX)" \
+ || die "emake failed"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ prefix="${EPREFIX}/usr" \
+ libdir="${EPREFIX}/usr/$(get_libdir)" \
+ install || die "emake install failed"
+
+ dodoc "${WORKDIR}/${P}/ChangeLog"
+}