mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
810 B
Bash
31 lines
810 B
Bash
pkgname=libindi
|
|
pkgver=1.1.0
|
|
pkgrel=1
|
|
pkgdesc="A distributed control protocol designed to operate astronomical instrumentation"
|
|
url="http://www.indilib.org/index.php?title=Main_Page"
|
|
license=('GPL2')
|
|
arch=('x86_64')
|
|
depends=('libnova' 'cfitsio' 'boost-libs' 'libusb' 'libjpeg' 'gsl')
|
|
makedepends=('cmake' 'boost')
|
|
options=('staticlibs') # libindiclient builds as static only
|
|
source=("http://www.indilib.org/jdownloads/Source/${pkgname}_${pkgver}.tar.gz")
|
|
sha256sums=('1ca093b551580e238ac605f156535feebc6c0f9b18d7911ed44a9186f9a446af')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../${pkgname}_${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DUDEVRULES_INSTALL_DIR=/usr/lib/udev/rules.d
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|