37 lines
936 B
Bash
37 lines
936 B
Bash
# Template file for 'teckit'
|
|
pkgname=teckit
|
|
version=2.5.9
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="libtool autoconf automake"
|
|
makedepends="zlib-devel"
|
|
short_desc="Text Encoding Conversion toolkit"
|
|
maintainer="svenper <svenper@tuta.io>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://scripts.sil.org/TECkitIntro"
|
|
changelog="http://scripts.sil.org/TECkitRecentChanges"
|
|
distfiles="https://github.com/silnrsi/teckit/archive/v${version}.tar.gz"
|
|
checksum=9c9f77ed40e2fcfbbb82e88b78fee2233c58e2ecfd3f3201bfa4b13ea6b5c970
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
libteckit_package() {
|
|
short_desc+=" - library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libTECkit.so.*"
|
|
vmove "usr/lib/libTECkit_Compiler.so.*"
|
|
}
|
|
}
|
|
|
|
libteckit-devel_package() {
|
|
depends="libteckit-${version}_${revision}"
|
|
short_desc+=" - library development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|