milis/talimatname/genel/u/umurmur/talimat

29 lines
755 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: Minimalist Mumble sunucusu
# URL: https://github.com/umurmur/umurmur
# Paketçi: Cihan_Alkan
# Gerekler: mbedtls libconfig protobuf-c cmake
# Grup: ağ
isim=umurmur
surum=0.2.17
devir=1
kaynak=(https://github.com/umurmur/umurmur/archive/${surum}.tar.gz::$isim-$surum.tar.gz
umurmur.sysusers)
derle() {
cd $isim-$surum
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSSL=mbedtls
make
cd $SRC/${isim}-${surum}
make -C build DESTDIR="${PKG}" install
install -Dm 644 "${PKG}/usr/etc/umurmur.conf" -t "${PKG}/etc/umurmur"
rm -r "${PKG}/usr/etc"
install -Dm 644 LICENSE -t "${PKG}/usr/share/licenses/${isim}"
install -Dm 644 "${SRC}/umurmur.sysusers" "${PKG}/usr/lib/sysusers.d/umurmur.conf"
}