mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
644 B
Bash
29 lines
644 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Weng Xuetian <wengxt@gmail.com>
|
|
|
|
pkgname=yaml-cpp
|
|
pkgver=0.5.1
|
|
pkgrel=1
|
|
pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec"
|
|
url="http://code.google.com/p/yaml-cpp/"
|
|
arch=('i686' 'x86_64')
|
|
license=('MIT')
|
|
makedepends=('cmake' 'boost')
|
|
source=(http://yaml-cpp.googlecode.com/files/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('0fa47a5ed8fedefab766592785c85ee7')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
|
|
make DESTDIR=$pkgdir install
|
|
}
|