milis/talimatname/genel/logrotate/talimat

26 lines
686 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.

# Description: Logrotate yardımcı programı, günlük yönetimini basitleştirmek için tasarlanmıştır
# URL: https://fedorahosted.org/logrotate/
# Packager: milisarge
# Depends on: popt
name=logrotate
version=3.8.8
release=1
source=(
https://fedorahosted.org/releases/l/o/logrotate/logrotate-$version.tar.gz
logrotate.conf
logrotate.README)
build() {
cd $name-$version
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
}