mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-14 05:02:28 +01:00
As the original author of ccze has vacated github the source URL's for the code need to be changed to reflect its new location
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
# Contributor: mcrmonkey <git@manchestermonkey.co.uk>
|
|
# Maintainer: mcrmonkey <git@manchestermonkey.co.uk>
|
|
pkgname=ccze
|
|
pkgver=0.2.1
|
|
pkgrel=1
|
|
pkgdesc="A fast log colorizer written in C, intended to be a drop-in replacement for colorize (http://colorize.raszi.hu)"
|
|
options="!check" # No testsuite
|
|
url="https://git.madhouse-project.org/archive/ccze"
|
|
arch="all"
|
|
license="GPL-2.0-only"
|
|
makedepends="musl-dev pcre-dev ncurses-dev autoconf automake"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="$pkgname-$pkgver-3.tar.gz::https://git.madhouse-project.org/archive/ccze/archive/ccze-$pkgver-2.tar.gz
|
|
001-fix-autoconf.patch
|
|
002-fix-error_t.patch"
|
|
builddir="$srcdir/ccze"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_guess
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
62b5065fd77f04f879af63806ae32ac11b5205e8570e8c522714cfadf72d4d1a165a1968878c59593709f754a797ea7289d2b9c959fcfaba52f300027a0981bc ccze-0.2.1-3.tar.gz
|
|
e869de966de949d270983531c4a2dd7dfcf08e0d9cd390063c128a6316d1f39b1b118bd7c8ad4b589aee468a08d578a5dfdb2c7eeb158926129aaa72fbc8034a 001-fix-autoconf.patch
|
|
2100de615d10ac466fe68f2533436d4c7a37bc599eb43489e208d7c5706a400423adc3d8c46dfe5beb1d5e05e8c6709c6318c133fb8b72c467abaaaba39af544 002-fix-error_t.patch
|
|
"
|