void-packages/srcpkgs/libtranscript/template

27 lines
806 B
Bash

# Template file for 'libtranscript'
pkgname=libtranscript
version=0.3.3
revision=1
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="pkg-config gettext"
makedepends="libtool gettext-devel"
short_desc="Character-set conversion library"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://os.ghalkes.nl/libtranscript.html"
distfiles="https://os.ghalkes.nl/dist/libtranscript-${version}.tar.bz2"
checksum=1f8c19f257da5d6fad0ed9a7e5bd2442819e910a19907c38e115116a3955f5fa
export LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool
libtranscript-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}