diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-09-19 11:59:33 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-09-19 11:59:33 -0500 |
commit | e40531aab32ff93b1f9da20d8a43a440d8dffaca (patch) | |
tree | 837260c74cb8eef56e640ee52b2e329e13719276 /community/yaml-cpp/PKGBUILD | |
parent | 6fab33c9210eaa90d0a0179f7e49c339ea88990f (diff) | |
parent | 171f25215eee368fe64f1eed02ce49de090f4b0d (diff) |
Merge branch 'master' of gitpar:abslibre-mips64el
Diffstat (limited to 'community/yaml-cpp/PKGBUILD')
-rw-r--r-- | community/yaml-cpp/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/community/yaml-cpp/PKGBUILD b/community/yaml-cpp/PKGBUILD new file mode 100644 index 000000000..940a9cadb --- /dev/null +++ b/community/yaml-cpp/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Markus Martin <markus@archwyrm.net> +pkgname=yaml-cpp +pkgver=0.2.7 +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') +source=(http://yaml-cpp.googlecode.com/files/$pkgname-$pkgver.tar.gz) +md5sums=('6878e14bad90c69a8f2caca273eb24c2') + +build() { + cd $srcdir/$pkgname-$pkgver + + cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir install +} |