summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/xylib/xylib-1.1.ebuild')
-rw-r--r--sci-libs/xylib/xylib-1.1.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/sci-libs/xylib/xylib-1.1.ebuild b/sci-libs/xylib/xylib-1.1.ebuild
new file mode 100644
index 000000000000..cbe1e8818de0
--- /dev/null
+++ b/sci-libs/xylib/xylib-1.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Experimental x-y data reading library"
+HOMEPAGE="http://www.unipress.waw.pl/fityk/xylib/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="bzip2 static-libs zlib"
+
+RDEPEND="
+ dev-libs/boost
+ bzip2? ( app-arch/bzip2 )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_with bzip2 bzlib) \
+ $(use_with zlib)
+}