blob: e87b249b846ca790c12a9698c7b543a263e888eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $Id: PKGBUILD 82853 2013-01-25 03:41:30Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Markus Martin <markus@archwyrm.net>
pkgname=yaml-cpp
pkgver=0.5.0
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' 'mips64el')
license=('MIT')
makedepends=('cmake' 'boost')
source=(http://yaml-cpp.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('c6d96190434d5959d814c603f98512c6')
build() {
cd $srcdir/$pkgname-$pkgver
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
}
|