# Template file for 'efreet'
pkgname=efreet
version=1.7.9
revision=1
hostmakedepends="libtool pkg-config"
makedepends="eet-devel>=${version} ecore-devel>=${version}"
build_style=gnu-configure
configure_args="--disable-static --disable-tests"
homepage="http://enlightenment.org"
short_desc="freedesktop.org specifications for Enlightenment"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
distfiles="http://download.enlightenment.org/releases/${pkgname}-${version}.tar.bz2"
checksum=3595bbed3f88152713581755594a9f4a3bc4d131111fb003bb6a3c15e597f3f5

pre_configure() {
	libtoolize -f
}

post_install() {
	# Remove test programs.
	rm -f ${DESTDIR}/usr/bin/*test
}

efreet-devel_package() {
	depends="eet-devel>=${version} ecore-devel>=${version} ${sourcepkg}>=${version}_${revision}"
	short_desc+="  - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/efreet/test
		vmove "usr/lib/*.so"
	}
}

efreet_package() {
	pkg_install() {
		vmove all
	}
}