forked from ports/contrib
ccze: Fixed source
This commit is contained in:
parent
20f8790a80
commit
29ca2a7ec7
@ -1 +1 @@
|
||||
221966bce7c5f011eca38157241a0432 ccze-0.2.1.tar.gz
|
||||
221966bce7c5f011eca38157241a0432 ccze_0.2.1.orig.tar.gz
|
||||
|
29
ccze/Pkgfile
29
ccze/Pkgfile
@ -1,30 +1,31 @@
|
||||
# Description: A log colorizer written in C with plugin support.
|
||||
# URL: http://bonehunter.rulez.org/software/ccze/
|
||||
# Packager: Vincenzo Colosimo <vico@bicisport.de>
|
||||
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
|
||||
# Maintainer: ames Mills prologic at shortcircuit dot net dot au
|
||||
#
|
||||
# Depends on: libpcre
|
||||
|
||||
name=ccze
|
||||
version=0.2.1
|
||||
release=3
|
||||
source=(ftp://bonehunter.rulez.org/pub/$name/stable/$name-$version.tar.gz)
|
||||
source=(http://ftp.debian.org/debian/pool/main/c/ccze/ccze_$version.orig.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 \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--disable-nls
|
||||
--disable-nls
|
||||
|
||||
make && make DESTDIR=$PKG install
|
||||
chown -R root:root $PKG
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
chown -R root:root $PKG
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user