blob: 6b05afc7c02bd973f09468719b264687e842437d (
plain)
1 # Description: A log colorizer written in C with plugin support.
2 # URL: https://github.com/madhouse/ccze/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: libpcre ncurses
5
6 name=ccze
7 version=0.2.1.2
8 sversion=0.2.1-2
9 release=1
10 source=(https://github.com/madhouse/ccze/archive/$name-$sversion.tar.gz)
11
12 build() {
13 cd $name-$name-$sversion
14
15 # GCC 4.x fixes
16 sed -i src/Makefile.in -e 's/-Wswitch -Wmulticharacter/-Wswitch/'
17 sed -i configure.ac -e '/AC_CHECK_TYPE(error_t, int)/d'
18 autoheader
19 autoconf
20
21 ./configure --prefix=/usr
22 make
23 make DESTDIR=$PKG install
24 }
|