30 lines
725 B
Plaintext
30 lines
725 B
Plaintext
# $Id: Pkgfile 1330 2006-11-13 20:54:04Z prologic $
|
|
# Description: A log colorizer written in C with plugin support.
|
|
# URL: http://bonehunter.rulez.org/software/ccze/
|
|
# Packager: Vincenzo Colosimo <vico@bicisport.de>
|
|
# Maintainer: James Mills prologic at shortcircuit dot net dot au
|
|
# Depends on: libpcre
|
|
|
|
name=ccze
|
|
version=0.2.1
|
|
release=2
|
|
source=(ftp://bonehunter.rulez.org/pub/$name/stable/$name-$version.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 \
|
|
--disable-nls
|
|
|
|
make && make prefix=$PKG/usr install
|
|
chown -R root:root $PKG
|
|
}
|