From e90db8275db28077174f045a4830f6428827a5d1 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 2 Apr 2013 12:13:50 +0000 Subject: [PATCH] Add a recipe for libsolv Gentoo Portage doesn't know it, so I just picked the dev-libs category. --- .../libsolv-0.3.0_haiku_2013_04_01.recipe | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 dev-libs/libsolv/libsolv-0.3.0_haiku_2013_04_01.recipe diff --git a/dev-libs/libsolv/libsolv-0.3.0_haiku_2013_04_01.recipe b/dev-libs/libsolv/libsolv-0.3.0_haiku_2013_04_01.recipe new file mode 100644 index 000000000..8069e7d01 --- /dev/null +++ b/dev-libs/libsolv/libsolv-0.3.0_haiku_2013_04_01.recipe @@ -0,0 +1,39 @@ +SUMMARY="Library for solving packages and reading repositories" +DESCRIPTION="Library for solving packages and reading repositories." +HOMEPAGE="http://github.com/openSUSE/libsolv" +SRC_URI="git+git://github.com/weinhold/libsolv.git#21ca29f8f21fa05384fe3fd095652b7999fec759" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86" + +PROVIDES="libsolv = $portVersion + lib:libsolv = $portVersion + lib:libsolvext = $portVersion" +REQUIRES="haiku >= $haikuVersion" +BUILD_REQUIRES="" +BUILD_PREREQUIRES="haiku-devel >= $haikuVersion + cmd:cmake + cmd:gcc + cmd:ld + cmd:make" + +SOURCE_DIR="$portVersionedName" + +BUILD() +{ + mkdir build + cd build + cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix .. + make +} + +INSTALL() +{ + cd build + make install + + # We don't wont the executables. + rm -r $prefix/bin +} + +LICENSE="BSD (3-clause)" +COPYRIGHT="2007-2013, Novell Inc."