1
0
forked from ports/contrib

ccze: picked up droped port

This commit is contained in:
Danny Rawlins 2008-03-18 21:10:19 +11:00
parent 45f462df31
commit 13620e9333

View File

@ -1,9 +1,8 @@
# 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
# URL: http://bonehunter.rulez.org/software/ccze/
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Vincenzo Colosimo, vico at bicisport dot de
# Depends on: libpcre ncurses
name=ccze
version=0.2.1
@ -11,21 +10,19 @@ release=3
source=(http://ftp.debian.org/debian/pool/main/c/ccze/ccze_$version.orig.tar.gz)
build() {
cd $name-$version
cd ccze-$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
# 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
./configure \
--prefix=/usr \
./configure \
--prefix=/usr \
--mandir=/usr/man \
--disable-nls
--disable-nls
make
make
make DESTDIR=$PKG install
chown -R root:root $PKG
}