2006-11-19 22:26:53 +01:00
|
|
|
# Description: A log colorizer written in C with plugin support.
|
2020-07-08 13:54:14 +02:00
|
|
|
# URL: https://github.com/madhouse/ccze/
|
2014-11-10 13:28:07 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2008-03-18 11:10:19 +01:00
|
|
|
# Depends on: libpcre ncurses
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
name=ccze
|
2020-07-08 13:54:14 +02:00
|
|
|
version=0.2.1.2
|
|
|
|
sversion=0.2.1-2
|
|
|
|
release=1
|
|
|
|
source=(https://github.com/madhouse/ccze/archive/$name-$sversion.tar.gz)
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
build() {
|
2020-07-08 13:54:14 +02:00
|
|
|
cd $name-$name-$sversion
|
2006-11-14 00:01:22 +01:00
|
|
|
|
2008-03-18 11:10:19 +01:00
|
|
|
# GCC 4.x fixes
|
2020-07-08 13:54:14 +02:00
|
|
|
sed -i src/Makefile.in -e 's/-Wswitch -Wmulticharacter/-Wswitch/'
|
2008-03-18 11:10:19 +01:00
|
|
|
sed -i configure.ac -e '/AC_CHECK_TYPE(error_t, int)/d'
|
2020-07-08 13:54:14 +02:00
|
|
|
autoheader
|
2008-03-18 11:10:19 +01:00
|
|
|
autoconf
|
2006-11-14 00:01:22 +01:00
|
|
|
|
2020-07-08 13:54:14 +02:00
|
|
|
./configure --prefix=/usr
|
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
|
|
|
}
|