void-packages/srcpkgs/teckit/template
2020-05-11 20:35:24 +02:00

37 lines
937 B
Bash

# Template file for 'teckit'
pkgname=teckit
version=2.5.10
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=c80900424f97a9c840332aef4bdf0a4a228d442cf835b4a8ce365351bc99e93b
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"
}
}