milis/talimatname/genel/f/fastd/talimat

21 lines
584 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: hızlı ve güvenli tünelleme uygulaması
2017-05-24 13:54:18 +02:00
# URL: https://projects.universe-factory.net/projects/fastd
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: pkg-config cmake libcap libuecc libsodium json-c
2018-08-15 10:33:48 +02:00
# Grup: ağ
2017-05-24 13:54:18 +02:00
2017-10-28 14:10:23 +02:00
isim=fastd
surum=18
devir=1
kaynak=(https://projects.universe-factory.net/attachments/download/86/$isim-$surum.tar.xz)
2017-05-24 13:54:18 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-05-24 13:54:18 +02:00
mkdir -p build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr -D ENABLE_SYSTEMD=ON -D ENABLE_LTO=ON -D ENABLE_OPENSSL=ON ../
make
make install DESTDIR="${PKG}"
install -dm755 "${PKG}/etc/fastd/"
}