2017-09-08 07:24:10 +02:00
|
|
|
|
# Template file for 'libthai'
|
|
|
|
|
pkgname=libthai
|
2017-12-17 11:03:31 +01:00
|
|
|
|
version=0.1.27
|
2017-09-08 07:24:10 +02:00
|
|
|
|
revision=1
|
|
|
|
|
build_style=gnu-configure
|
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
|
makedepends="libdatrie-devel"
|
|
|
|
|
short_desc="Thai language support routines"
|
|
|
|
|
maintainer="newbluemoon <blaumolch@mailbox.org>"
|
|
|
|
|
license="LGPL-2.1"
|
|
|
|
|
homepage="https://linux.thai.net/projects/libthai"
|
|
|
|
|
distfiles="ftp://linux.thai.net/pub/ThaiLinux/software/${pkgname}/${pkgname}-${version}.tar.xz"
|
2017-12-17 11:03:31 +01:00
|
|
|
|
checksum=1659fa1b7b1d6562102d7feb8c8c3fd94bb2dc5761ed7dbaae4f300e1c03eff6
|
2017-09-08 07:24:10 +02:00
|
|
|
|
|
|
|
|
|
# the ‘trietool’ binary is used to create the dictionary
|
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
|
|
|
hostmakedepends+=" libdatrie"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
libthai-devel_package() {
|
|
|
|
|
short_desc+=" - development files"
|
|
|
|
|
depends="${sourcepkg}>=${version}_${revision} libdatrie-devel"
|
|
|
|
|
pkg_install() {
|
|
|
|
|
vmove usr/include
|
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
|
}
|
|
|
|
|
}
|