# Template file for 'efreet'
pkgname=efreet
version=1.7.7
revision=1
hostmakedepends="pkg-config"
makedepends="eet-devel>=1.7.7 ecore-devel>=1.7.7"
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=372e0ddd7c724a7b940759d4231334e8d5d711fe87b2f5afecd0e95d763c5499

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

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

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