32 lines
741 B
Plaintext
32 lines
741 B
Plaintext
# Description: A log colorizer written in C with plugin support.
|
|
# URL: http://bonehunter.rulez.org/software/ccze/
|
|
# Packager: Vincenzo Colosimo <vico@bicisport.de>
|
|
# Maintainer: ames Mills prologic at shortcircuit dot net dot au
|
|
#
|
|
# Depends on: libpcre
|
|
|
|
name=ccze
|
|
version=0.2.1
|
|
release=3
|
|
source=(http://ftp.debian.org/debian/pool/main/c/ccze/ccze_$version.orig.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
# GCC 4.x fixes
|
|
sed -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \
|
|
-i src/Makefile.in
|
|
sed -e '/AC_CHECK_TYPE(error_t, int)/d' \
|
|
-i configure.ac
|
|
autoconf
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--disable-nls
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
chown -R root:root $PKG
|
|
}
|