contrib/ccze/Pkgfile

30 lines
720 B
Plaintext
Raw Normal View History

2006-11-19 22:26:53 +01:00
# 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
2006-11-14 00:01:22 +01:00
name=ccze
version=0.2.1
release=2
source=(ftp://bonehunter.rulez.org/pub/$name/stable/$name-$version.tar.gz)
build() {
2006-11-19 22:26:53 +01:00
cd $name-$version
2006-11-14 00:01:22 +01:00
2006-11-19 22:26:53 +01:00
# 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
2006-11-14 00:01:22 +01:00
2006-11-19 22:26:53 +01:00
./configure \
--prefix=/usr \
--disable-nls
2006-11-14 00:01:22 +01:00
2006-11-19 22:26:53 +01:00
make && make prefix=$PKG/usr install
chown -R root:root $PKG
2006-11-14 00:01:22 +01:00
}