mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Add a recipe for libsolv
Gentoo Portage doesn't know it, so I just picked the dev-libs category.
This commit is contained in:
39
dev-libs/libsolv/libsolv-0.3.0_haiku_2013_04_01.recipe
Normal file
39
dev-libs/libsolv/libsolv-0.3.0_haiku_2013_04_01.recipe
Normal 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."
|
||||
Reference in New Issue
Block a user