libpinyin: enable libzhuyin
This commit is contained in:
parent
9a31d0c8f4
commit
9c707db8a3
1 changed files with 12 additions and 5 deletions
|
@ -1,19 +1,26 @@
|
||||||
# Template file for 'libpinyin'
|
# Template file for 'libpinyin'
|
||||||
pkgname=libpinyin
|
pkgname=libpinyin
|
||||||
version=2.6.0
|
version=2.6.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="intltool libtool pkg-config autoconf-archive autoconf automake
|
configure_args="--enable-libzhuyin"
|
||||||
wget gnome-common"
|
hostmakedepends="intltool libtool pkg-config autoconf-archive autoconf automake"
|
||||||
makedepends="db-devel libglib-devel"
|
makedepends="db-devel libglib-devel"
|
||||||
short_desc="Support library for PinYin and ZhuYin (Bopofomo)"
|
short_desc="Support library for PinYin and ZhuYin (Bopofomo)"
|
||||||
maintainer="Ben Sung Hsu <pobetiger+github@gmail.com>"
|
maintainer="Ben Sung Hsu <pobetiger+github@gmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/libpinyin/libpinyin"
|
homepage="https://github.com/libpinyin/libpinyin"
|
||||||
changelog="https://raw.githubusercontent.com/libpinyin/libpinyin/${version}/ChangeLog"
|
changelog="https://raw.githubusercontent.com/libpinyin/libpinyin/${version}/ChangeLog"
|
||||||
distfiles="https://github.com/libpinyin/libpinyin/archive/${version}.tar.gz"
|
distfiles="https://github.com/libpinyin/libpinyin/archive/${version}.tar.gz
|
||||||
checksum=2b52f617a99567a8ace478ee82ccc62d1761e3d1db2f1e05ba05b416708c35d2
|
http://downloads.sourceforge.net/libpinyin/models/model19.text.tar.gz"
|
||||||
|
checksum="2b52f617a99567a8ace478ee82ccc62d1761e3d1db2f1e05ba05b416708c35d2
|
||||||
|
56422a4ee5966c2c809dd065692590ee8def934e52edbbe249b8488daaa1f50b"
|
||||||
nocross="Requires data generators compiled against target system"
|
nocross="Requires data generators compiled against target system"
|
||||||
|
skip_extraction="model19.text.tar.gz"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
bsdtar -C data -xf $XBPS_SRCDISTDIR/$pkgname-$version/model19.text.tar.gz
|
||||||
|
}
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue