Add a recipe for libsolv

Gentoo Portage doesn't know it, so I just picked the dev-libs
category.
This commit is contained in:
Ingo Weinhold
2013-04-02 12:13:50 +00:00
parent f0a5b24ee4
commit e90db8275d

View File

@@ -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."