void-packages/srcpkgs/libite/template

36 lines
904 B
Bash

# Template file for 'libite'
pkgname=libite
version=1.9.3
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Lightweight library of frog DNA"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT, ISC, BSD"
homepage="https://github.com/troglobit/libite"
#changelog="https://raw.githubusercontent.com/troglobit/libite/master/ChangeLog.md"
distfiles="https://github.com/troglobit/libite/archive/v${version}.tar.gz"
checksum=c5e6b4238fe7bb5ea708adc6a120c628dd5acbc43dfc0f488e52187818ae7079
pre_configure() {
./autogen.sh
}
post_install() {
vlicense LICENSE
rm -rf ${DESTDIR}/usr/share/doc/libite
}
libite-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/doc
vmove "usr/lib/*.a"
vmove "usr/lib/*.la"
vmove "usr/lib/*.so"
}
}