void-packages/srcpkgs/libite/template
2016-11-15 19:29:44 +01:00

34 lines
820 B
Bash

# Template file for 'libite'
pkgname=libite
version=1.8.2
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"
distfiles="https://github.com/troglobit/libite/archive/v${version}.tar.gz"
checksum=b27e4af69e9e5b4d00924538d3a41b53752082cc439b9246edec5501aff2f22f
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"
}
}