forked from ports/contrib
29 lines
673 B
Plaintext
29 lines
673 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: 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
|
||
|
}
|