more on build scripts
This commit is contained in:
parent
a8181729f9
commit
77791e142c
2 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
# Maintainer: Martin Brodbeck <martin at brodbeck-online dot de>
|
||||
pkgname=kima2
|
||||
pkgver=1.1.0
|
||||
pkgver=1.5.0
|
||||
pkgrel=1
|
||||
pkgdesc="A small cash point program for children's things markets (German only)"
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -9,7 +9,7 @@ license=('custom')
|
|||
depends=('glibc' 'libusb' 'qt5-base' 'sqlite3' 'xlnt')
|
||||
makedepends=('boost>=1.62')
|
||||
source=($pkgname-$pkgver.tar.gz)
|
||||
md5sums=('')
|
||||
md5sums=('c0e6a64b5037675edce4ba8bc4639bd3')
|
||||
|
||||
build() {
|
||||
if [ ! -d $pkgname/build ]; then
|
||||
|
@ -17,7 +17,7 @@ build() {
|
|||
fi
|
||||
cd $pkgname/build
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DKIMA2_USE_EXTERNAL_JSON=ON ..
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DKIMA2_USE_EXTERNAL_JSON=OFF ..
|
||||
make
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
boost = dependency('boost', modules :['date_time'])
|
||||
boost = dependency('boost', modules: ['date_time'], static: true)
|
||||
xlnt = dependency('xlnt')
|
||||
sqlite = dependency('sqlite3')
|
||||
|
||||
|
@ -8,6 +8,6 @@ src = ['database.cpp', 'entity.cpp', 'entityint.cpp', 'entityuuid.cpp',
|
|||
|
||||
core_inc = include_directories('..')
|
||||
|
||||
core_lib = static_library('core', src, dependencies :[boost, xlnt, sqlite, nlohmann_lib, csv_dep])
|
||||
core_lib = static_library('core', src, dependencies: [boost, xlnt, sqlite, nlohmann_lib, csv_dep])
|
||||
|
||||
core_dep = declare_dependency(link_with : core_lib, include_directories : core_inc)
|
||||
core_dep = declare_dependency(link_with: core_lib, include_directories : core_inc)
|
||||
|
|
Loading…
Reference in a new issue