# Template file for 'ethumb'
pkgname=ethumb
version=1.7.7
revision=1
hostmakedepends="pkg-config"
makedepends="edje-devel>=1.7.7 e_dbus-devel>=1.7.7 emotion-devel>=1.7.7 libexif-devel"
build_style=gnu-configure
configure_args="--disable-static --enable-emotion"
homepage="http://enlightenment.org"
short_desc="Thumbnailing library and D-Bus service using EFL"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
distfiles="http://download.enlightenment.org/releases/${pkgname}-${version}.tar.bz2"
checksum=bde3c2d585c8b6b73e5eff7c9ff25ef4d9bc66090635effa7c3ac6feb72bc120

ethumb-devel_package() {
	depends="eet-devel ecore-devel evas-devel edje-devel emotion-devel
		libexif-devel ${sourcepkg}>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

ethumb_package() {
	pkg_install() {
		vmove all
	}
}
