talimat 755 B

1234567891011121314151617181920212223242526272829
  1. # Tanım: Minimalist Mumble sunucusu
  2. # URL: https://github.com/umurmur/umurmur
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: mbedtls libconfig protobuf-c cmake
  5. # Grup: ağ
  6. isim=umurmur
  7. surum=0.2.17
  8. devir=1
  9. kaynak=(https://github.com/umurmur/umurmur/archive/${surum}.tar.gz::$isim-$surum.tar.gz
  10. umurmur.sysusers)
  11. derle() {
  12. cd $isim-$surum
  13. mkdir build
  14. cd build
  15. cmake .. \
  16. -DCMAKE_INSTALL_PREFIX=/usr \
  17. -DSSL=mbedtls
  18. make
  19. cd $SRC/${isim}-${surum}
  20. make -C build DESTDIR="${PKG}" install
  21. install -Dm 644 "${PKG}/usr/etc/umurmur.conf" -t "${PKG}/etc/umurmur"
  22. rm -r "${PKG}/usr/etc"
  23. install -Dm 644 LICENSE -t "${PKG}/usr/share/licenses/${isim}"
  24. install -Dm 644 "${SRC}/umurmur.sysusers" "${PKG}/usr/lib/sysusers.d/umurmur.conf"
  25. }