summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-08-23 08:03:20 -0400
committerTim Harder <radhermit@gentoo.org>2017-08-23 08:03:20 -0400
commit0e7a461dc34c4261c64d6bfe5a0d70b12cf88cca (patch)
tree0d423dc6f76f1da7637a436f2276a632d80fa8bc /dev-libs/libebml/libebml-1.3.5.ebuild
parentdev-libs/libebml: use https for HOMEPAGE and SRC_URI (diff)
downloadgentoo-0e7a461dc34c4261c64d6bfe5a0d70b12cf88cca.tar.gz
gentoo-0e7a461dc34c4261c64d6bfe5a0d70b12cf88cca.tar.bz2
gentoo-0e7a461dc34c4261c64d6bfe5a0d70b12cf88cca.zip
dev-libs/libebml: version bump to 1.3.5
Diffstat (limited to 'dev-libs/libebml/libebml-1.3.5.ebuild')
-rw-r--r--dev-libs/libebml/libebml-1.3.5.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-libs/libebml/libebml-1.3.5.ebuild b/dev-libs/libebml/libebml-1.3.5.ebuild
new file mode 100644
index 000000000000..637d22891b84
--- /dev/null
+++ b/dev-libs/libebml/libebml-1.3.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Extensible binary format library (kinda like XML)"
+HOMEPAGE="https://www.matroska.org/ https://github.com/Matroska-Org/libebml/"
+SRC_URI="https://dl.matroska.org/downloads/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/4" # subslot = soname major version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="debug static-libs"
+
+src_prepare() {
+ default
+ sed -i '/^AM_CXXFLAGS += -g/d' Makefile.am || die
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ $(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete
+}