mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
Update to current libsolv version
* Includes recent OpenSUSE/libsolv changes and sync with package kit changes (BPackageVersion::release -> revision). * Add missing expat [build_]requires. * BUILD(): Remove "build" directory before re-creating it.
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
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"
|
||||
SRC_URI="git+git://github.com/weinhold/libsolv.git#2fbe38d5d38facee568f24b19b51e03ad2e9e3a9"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86_gcc2 ?x86"
|
||||
|
||||
PROVIDES="libsolv = $portVersion
|
||||
lib:libsolv = $portVersion
|
||||
lib:libsolvext = $portVersion"
|
||||
REQUIRES="haiku >= $haikuVersion"
|
||||
BUILD_REQUIRES=""
|
||||
REQUIRES="haiku >= $haikuVersion
|
||||
lib:libexpat >= 1.5"
|
||||
BUILD_REQUIRES="lib:libexpat >= 1.5"
|
||||
BUILD_PREREQUIRES="haiku-devel >= $haikuVersion
|
||||
cmd:cmake
|
||||
cmd:gcc
|
||||
@@ -20,6 +21,7 @@ SOURCE_DIR="$portVersionedName"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix ..
|
||||
@@ -31,7 +33,7 @@ INSTALL()
|
||||
cd build
|
||||
make install
|
||||
|
||||
# We don't wont the executables.
|
||||
# We don't want the executables.
|
||||
rm -r $prefix/bin
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user