milis/talimatname/genel/f/fastd/talimat

20 lines
572 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: hızlı ve güvenli tünelleme uygulaması
# URL: https://projects.universe-factory.net/projects/fastd
# Paketçi: milisarge
# Gerekler: pkg-config cmake libcap libuecc libsodium json-c
isim=fastd
surum=18
devir=1
kaynak=(https://projects.universe-factory.net/attachments/download/86/$isim-$surum.tar.xz)
derle() {
cd $isim-$surum
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/"
}