22 lines
655 B
Bash
22 lines
655 B
Bash
# Template file for 'kakasi'
|
|
pkgname=kakasi
|
|
version=2.3.6
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool gettext-devel"
|
|
short_desc="Tool to convert Kanji characters to Hiragana, Katakana or Romaji"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://kakasi.namazu.org/"
|
|
distfiles="http://kakasi.namazu.org/stable/kakasi-${version}.tar.gz"
|
|
checksum=004276fd5619c003f514822d82d14ae83cd45fb9338e0cb56a44974b44961893
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kakasi"
|
|
make_build_args+=" MKKANWA=/usr/bin/mkkanwa"
|
|
fi
|
|
|
|
pre_configure() {
|
|
NOCONFIGURE=1 autoreconf -fi
|
|
NOCONFIGURE=1 automake
|
|
}
|