ccze: Fixed mandir path

This commit is contained in:
James Mills 2007-03-04 18:21:34 +10:00
parent c6cb0778d6
commit 298b71665e

View File

@ -1,29 +1,30 @@
# 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
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
#
# Depends on: libpcre
name=ccze
version=0.2.1
release=2
release=3
source=(ftp://bonehunter.rulez.org/pub/$name/stable/$name-$version.tar.gz)
build() {
cd $name-$version
cd $name-$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 -e 's/-Wswitch -Wmulticharacter/-Wswitch/' \
-i src/Makefile.in
sed -e '/AC_CHECK_TYPE(error_t, int)/d' \
-i configure.ac
autoconf
./configure \
--prefix=/usr \
--disable-nls
./configure \
--prefix=/usr \
--mandir=/usr/man \
--disable-nls
make && make prefix=$PKG/usr install
chown -R root:root $PKG
make && make DESTDIR=$PKG install
chown -R root:root $PKG
}