milis/talimatname/genel/l/logrotate/talimat

26 lines
671 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: Logrotate yardımcı programı, günlük yönetimini basitleştirmek için tasarlanmıştır
# URL: https://fedorahosted.org/logrotate/
# Paketçi: milisarge
# Gerekler: popt
isim=logrotate
surum=3.8.8
devir=1
kaynak=(
https://fedorahosted.org/releases/l/o/logrotate/logrotate-$surum.tar.gz
logrotate.conf
logrotate.README)
derle() {
cd $isim-$surum
make WITH_ACL=yes RPM_OPT_FLAGS="$CFLAGS" EXTRA_LDFLAGS="$LDFLAGS"
make test
make PREFIX=$PKG MANDIR="/usr/share/man" install
# add missing dir
install -dm755 $PKG/etc/logrotate.d
# install the logrotate.conf file
install -Dm644 $SRC/logrotate.conf $PKG/etc/logrotate.conf
}