milis/talimatname/genel/i/icecast/talimat

25 lines
691 B
Plaintext
Raw Permalink 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: Ağ üzerinden ses akışı sağlamak
# URL: http://www.icecast.org/
# Paketçi: milisarge
# Gerekler: libxslt libvorbis speex libtheora
# Grup: medya
isim=icecast
surum=2.4.3
devir=1
kaynak=(http://downloads.us.xiph.org/releases/icecast/icecast-$surum.tar.gz
icecast.logrotate
start-by-nobody.patch)
derle() {
cd "${SRC}/${isim}-${surum}"
patch -Np1 -i "${SRC}/start-by-nobody.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
make DESTDIR="${PKG}" install
install -Dm644 "${SRC}/icecast.logrotate" "${PKG}/etc/logrotate.d/icecast"
# create log directory
install -d -g99 -o99 "${PKG}/var/log/icecast"
rm -rf $PKG/usr/share/doc
}