1SUMMARY="Library for solving packages and reading repositories" 2DESCRIPTION="Library for solving packages and reading repositories." 3HOMEPAGE="https://github.com/openSUSE/libsolv" 4COPYRIGHT="2007-2013, Novell Inc." 5LICENSE="BSD (3-clause)" 6REVISION="3" 7SOURCE_URI="git+git://github.com/weinhold/libsolv.git#85dcb683b0c705c1789a3f688bd0d02368107824" 8 9ARCHITECTURES="x86_gcc2 ?x86" 10 11PROVIDES=" 12 libsolv = $portVersion 13 lib:libsolv = $portVersion 14 lib:libsolvext = $portVersion 15 " 16REQUIRES=" 17 haiku 18 lib:libexpat >= 1.5 19 lib:libz 20 " 21 22BUILD_REQUIRES=" 23 $REQUIRES 24 " 25BUILD_PREREQUIRES=" 26 haiku_devel 27 cmd:cmake 28 cmd:gcc 29 cmd:ld 30 cmd:make 31 cmd:sed 32 " 33 34BUILD() 35{ 36 rm -rf build 37 mkdir build 38 cd build 39 cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix .. 40 make $jobArgs 41} 42 43INSTALL() 44{ 45 cd build 46 make install 47 48 # set up the develop directory correctly 49 prepareInstalledDevelLibs libsolv libsolvext 50 51 mkdir -p $includeDir 52 mv $prefix/include/* $includeDir 53 rmdir $prefix/include 54 55 # move cmake files 56 mkdir -p $dataDir 57 mv $prefix/share/cmake $dataDir 58 rmdir $prefix/share 59 60 # We don't want the executables. 61 rm -r $prefix/bin 62} 63