2006-11-19 22:26:53 +01:00
|
|
|
# Description: A log colorizer written in C with plugin support.
|
2010-11-20 01:40:23 +01:00
|
|
|
# URL: http://freshmeat.net/projects/ccze/
|
2008-03-26 03:45:31 +01:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2008-03-18 11:10:19 +01:00
|
|
|
# Packager: Vincenzo Colosimo, vico at bicisport dot de
|
|
|
|
# Depends on: libpcre ncurses
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
name=ccze
|
|
|
|
version=0.2.1
|
2007-03-04 09:21:34 +01:00
|
|
|
release=3
|
2010-11-20 01:40:23 +01:00
|
|
|
source=(http://ftp.debian.org/debian/pool/main/c/$name/${name}_$version.orig.tar.gz)
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
build() {
|
2010-11-20 01:40:23 +01:00
|
|
|
cd $name-$version
|
2006-11-14 00:01:22 +01:00
|
|
|
|
2008-03-18 11:10:19 +01:00
|
|
|
# GCC 4.x fixes
|
|
|
|
sed -i src/Makefile.in -e 's/-Wswitch -Wmulticharacter/-Wswitch/'
|
|
|
|
sed -i configure.ac -e '/AC_CHECK_TYPE(error_t, int)/d'
|
|
|
|
autoconf
|
2006-11-14 00:01:22 +01:00
|
|
|
|
2008-03-18 11:10:19 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2007-03-04 09:21:34 +01:00
|
|
|
--mandir=/usr/man \
|
2008-03-18 11:10:19 +01:00
|
|
|
--disable-nls
|
2006-11-14 00:01:22 +01:00
|
|
|
|
2008-03-18 11:10:19 +01:00
|
|
|
make
|
2007-06-07 02:34:05 +02:00
|
|
|
make DESTDIR=$PKG install
|
2006-11-14 00:01:22 +01:00
|
|
|
}
|