milis/talimatname/genel/y/yaml-cpp/talimat

24 lines
716 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: YAML ayrıştırıcı ve yayıcı C ++, YAML 1.2 spesifikasyonu etrafında yazılmıştır
# URL: https://github.com/jbeder/yaml-cpp
# Paketçi: Cihan Alkan
# Gerekler: boost cmake
# Grup: geliştirme
isim=yaml-cpp
surum=0.5.3
devir=1
kaynak=(https://github.com/jbeder/yaml-cpp/archive/release-$surum.tar.gz
500db60f899ae6845039d4eca503133d0db81dbd.patch
1f4b6d5c855b59e849b7228090981c520928c2a4.patch)
derle() {
cd yaml-cpp-release-$surum
patch -Np1 < $SRC/500db60f899ae6845039d4eca503133d0db81dbd.patch
patch -Np1 < $SRC/1f4b6d5c855b59e849b7228090981c520928c2a4.patch
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
make
make DESTDIR=$PKG install
}