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

23 lines
696 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: YAML ayrıştırıcı ve yayıcı C ++, YAML 1.2 spesifikasyonu etrafında yazılmıştır
2017-06-26 15:44:33 +02:00
# URL: https://github.com/jbeder/yaml-cpp
2017-10-27 20:46:27 +02:00
# Paketçi: Cihan Alkan
# Gerekler: boost cmake
2017-06-26 15:44:33 +02:00
2017-10-28 14:10:23 +02:00
isim=yaml-cpp
surum=0.5.3
devir=1
2017-06-26 15:44:33 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(https://github.com/jbeder/yaml-cpp/archive/release-$surum.tar.gz
2017-06-26 15:44:33 +02:00
500db60f899ae6845039d4eca503133d0db81dbd.patch
1f4b6d5c855b59e849b7228090981c520928c2a4.patch)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd yaml-cpp-release-$surum
2017-06-26 15:44:33 +02:00
patch -Np1 < $SRC/500db60f899ae6845039d4eca503133d0db81dbd.patch
patch -Np1 < $SRC/1f4b6d5c855b59e849b7228090981c520928c2a4.patch
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
make
make DESTDIR=$PKG install
}