# Template file for 'ecore'
pkgname=ecore
version=1.7.7
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-inotify --enable-ecore-imf
 --enable-ecore-imf-evas --enable-ecore-input --enable-ecore-input-evas
 --enable-thread-safety --enable-posix-threads --enable-ecore-evas"
homepage="http://enlightenment.org"
short_desc="OS abstraction layer for Enlightenment"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
distfiles="http://download.enlightenment.org/releases/ecore-${version}.tar.gz"
checksum=1a933394897bba8d255c3e458501be9ed30fa2a02f7552e338350f54e2342fd6

hostmakedepends="pkg-config"
makedepends="evas-devel>=1.7.7 libglib-devel libcurl-devel
 libXtst-devel libXcomposite-devel libXrandr-devel libXinerama-devel
 libXcursor-devel libXdamage-devel libXScrnSaver-devel libICE-devel"

ecore-devel_package() {
	depends="eina-devel>=1.7.7 libglib-devel openssl-devel libcurl-devel libXtst-devel
		libXScrnSaver-devel libXrandr-devel libXinerama-devel libXcomposite-devel
		libXdamage-devel libXi-devel libXcursor-devel ecore>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

ecore_package() {
	pkg_install() {
		vmove all
	}
}
