# Template file for 'libestr'
pkgname=libestr
version=0.1.5
revision=1
build_style=gnu-configure
configure_args="--disable-static ac_cv_func_malloc_0_nonnull=yes"
short_desc="C library for string processing"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://libestr.adiscon.com"
distfiles="$homepage/files/download/$pkgname-$version.tar.gz"
checksum=ff9734663c8e7384835e12c65313efe14b1d7ec310f48c977d35f66b1050659e

libestr-devel_package() {
	depends="libestr>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}

libestr_package() {
	pkg_install() {
		vmove usr
	}
}
