New package: libthai-0.1.26

This commit is contained in:
newbluemoon 2017-09-08 07:24:10 +02:00 committed by Jürgen Buchmüller
parent 0af2a3dd97
commit 3d03daea60
2 changed files with 30 additions and 0 deletions

1
srcpkgs/libthai-devel Symbolic link
View File

@ -0,0 +1 @@
libthai

29
srcpkgs/libthai/template Normal file
View File

@ -0,0 +1,29 @@
# Template file for 'libthai'
pkgname=libthai
version=0.1.26
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"
checksum=8710112c836b272db1740a9ea3e6c7ebb65b64eee0e143fc2b2c60f99f6bfe2a
# 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"
}
}