Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kimi:telephony-ithod
belcard
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package belcard
# Get some information about the machine we are building on: _numberOfProcessorsOnMachine=$(nproc) _wantedJobs=$(echo "1.25*${_numberOfProcessorsOnMachine}" | bc -l) _jobsIget=$(echo ${_wantedJobs} | awk '{print int($1+0.5)}') _TOTAL_DISK=$(df -h --total | awk 'END{print $2}') _FREEMEM=$(free --mega) _TOTAL_MEM=$(free --total --mega | xargs | awk '{print $19"MB"}') _TOTAL_RAM=$(free --total --mega | xargs | awk '{print $8"MB"}') _TOTAL_SWAP=$(free --total --mega | xargs | awk '{print $15"MB"}') pkgname=belcard _pkgname=belcard pkgver=5.3.5 pkgrel=1 pkgdesc="A library for working with vCards" arch=('x86_64') url="http://www.linphone.org/" license=('GPL') #"belr>=$pkgver" depends=("belr>=5.3.5" 'gcc-libs') makedepends=('cmake' 'bctoolbox>=5.3.5' 'belr>=5.3.5' 'procps-ng' 'bc' 'gzip' 'libdecaf') source=(${_pkgname}-${pkgver}.tar.bz2 ${_pkgname}-fix-pkgconfig.patch) sha1sums=('SKIP' 'SKIP') prepare() { echo "--- Entering section prepare() ---" echo pwd=$(pwd) patch -d ${pkgname}-$pkgver -p1 < ${_pkgname}-fix-pkgconfig.patch echo "--- Exiting section prepare() ---" } build() { echo "--- Machine data we are building on ---" echo "Total disk: $_TOTAL_DISK" echo "Output of free -h:" echo "$_FREEMEM" echo "Total memory: $_TOTAL_MEM" echo "Total RAM: $_TOTAL_RAM" echo "Total SWAP: $_TOTAL_SWAP" echo "_numberOfProcessorsOnMachine=$_numberOfProcessorsOnMachine" echo "_wantedJobs=$_wantedJobs" echo "_jobsIget=$_jobsIget" echo "--- End machine data we are building on ---" cmake -B build -DCMAKE_PREFIX_PATH="/usr/lib" \ -DCMAKE_BUILD_PARALLEL_LEVEL=${_jobsIget} \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DENABLE_TOOLS=NO \ -DENABLE_UNIT_TESTS=NO \ -DENABLE_STATIC=NO "$pkgname-$pkgver" make -C build -j ${_jobsIget} } package() { make -C build DESTDIR="${pkgdir}" install }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor