summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2013-07-22 04:14:06 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2013-07-22 04:14:06 +0000
commit1364b56ce22ae76f17f6de14835583be6bcca30d (patch)
tree549cd6667b54ccb150ab74abc5f51653578ca2d7 /dev-libs/libsolv
parentBump (diff)
downloadgentoo-2-1364b56ce22ae76f17f6de14835583be6bcca30d.tar.gz
gentoo-2-1364b56ce22ae76f17f6de14835583be6bcca30d.tar.bz2
gentoo-2-1364b56ce22ae76f17f6de14835583be6bcca30d.zip
Initial commit. Will be required for zypper, now packaged without bindings and does not respect ldflags, patch needed.
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)
Diffstat (limited to 'dev-libs/libsolv')
-rw-r--r--dev-libs/libsolv/ChangeLog10
-rw-r--r--dev-libs/libsolv/libsolv-0.3.0.ebuild48
-rw-r--r--dev-libs/libsolv/metadata.xml6
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-libs/libsolv/ChangeLog b/dev-libs/libsolv/ChangeLog
new file mode 100644
index 000000000000..3801c2b21ef9
--- /dev/null
+++ b/dev-libs/libsolv/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/libsolv
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsolv/ChangeLog,v 1.1 2013/07/22 04:14:06 scarabeus Exp $
+
+*libsolv-0.3.0 (22 Jul 2013)
+
+ 22 Jul 2013; Tomáš Chvátal <scarabeus@gentoo.org> +libsolv-0.3.0.ebuild,
+ +metadata.xml:
+ Initial commit. Will be required for zypper package.
+
diff --git a/dev-libs/libsolv/libsolv-0.3.0.ebuild b/dev-libs/libsolv/libsolv-0.3.0.ebuild
new file mode 100644
index 000000000000..ccc7b1394d51
--- /dev/null
+++ b/dev-libs/libsolv/libsolv-0.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libsolv/libsolv-0.3.0.ebuild,v 1.1 2013/07/22 04:14:06 scarabeus Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Library for solving packages and reading repositories"
+HOMEPAGE="http://doc.opensuse.org/projects/libzypp/HEAD/"
+SRC_URI="https://build.opensuse.org/package/rawsourcefile/openSUSE:Factory/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="bzip2 lzma" # perl python ruby"
+
+RDEPEND="
+ app-arch/rpm
+ dev-libs/expat
+ sys-libs/db
+ sys-libs/zlib
+ virtual/udev
+ bzip2? ( app-arch/bzip2 )
+ lzma? ( app-arch/xz-utils )
+"
+DEPEND="${DEPEND}
+ sys-devel/gettext
+"
+
+src_prepare() {
+ sed -i \
+ -e "s:include <rpm/db.h>:include <db.h>:g" \
+ ext/repo_rpmdb.c || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ "-DSUSE=1"
+ "-DENABLE_SUSEREPO=1"
+ "-DENABLE_HELIXREPO=1"
+ "-DUSE_VENDORDIRS=1"
+ $(cmake-utils_use_enable bzip2 ENABLE_BZIP2_COMPRESSION)
+ $(cmake-utils_use_enable lzma ENABLE_LZMA_COMPRESSION)
+ )
+
+ cmake-utils_src_configure
+}
diff --git a/dev-libs/libsolv/metadata.xml b/dev-libs/libsolv/metadata.xml
new file mode 100644
index 000000000000..9b2336726aa6
--- /dev/null
+++ b/dev-libs/libsolv/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>suse</herd>
+</pkgmetadata>
+