Advertisement
EasySly

PKGBUILD for YAML-C++ 0.3

May 15th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.55 KB | None | 0 0
  1. pkgname=yaml-cpp0.3
  2. pkgver=0.3.0
  3. pkgrel=1
  4. pkgdesc="YAML parser and emitter in C++, written around the YAML 1.2 spec"
  5. url="http://code.google.com/p/yaml-cpp/"
  6. arch=('i686' 'x86_64')
  7. license=('MIT')
  8. makedepends=('cmake')
  9. conflicts=('yaml-cpp')
  10. source=(http://yaml-cpp.googlecode.com/files/yaml-cpp-$pkgver.tar.gz)
  11. md5sums=('9aa519205a543f9372bf4179071c8ac6')
  12.  
  13. build() {
  14.     cd $srcdir/yaml-cpp
  15.  
  16.     cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
  17.     make
  18. }
  19.  
  20. package() {
  21.     cd $srcdir/yaml-cpp
  22.  
  23.     make DESTDIR=$pkgdir install
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement