milis/talimatname/genel/g/gflags/talimat

26 lines
657 B
Plaintext
Raw Normal View History

2018-08-09 14:31:54 +02:00
# Tanım: Komut satırı bayrağı işleme için C++ Kitaplığı
2018-05-15 17:40:27 +02:00
# URL: https://github.com/schuhschuh/gflags
# Paketçi: milisarge
# Gerekler: cmake
# Grup: kütüphane
isim=gflags
surum=2.2.1
devir=1
kaynak=(https://github.com/schuhschuh/gflags/archive/v${surum}.tar.gz::$isim-$surum.tar.gz)
derle() {
cd "gflags-${surum}"
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DREGISTER_INSTALL_PREFIX=OFF \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_STATIC_LIBS=ON \
-DBUILD_TESTING=ON
make
make test
make DESTDIR="${PKG}" install
install -D -m644 COPYING.txt "${PKG}"/usr/share/licenses/${isim}/COPYING.txt
}