# Template file for 'libmtp'
pkgname=libmtp
version=1.0.2
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Library for Microsoft's Media Transfer Protocol (MTP)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=23adc4d18b5d9e0932a542104b871163cdadc09e697184199ecaaa33eaffa7af
long_desc="
 libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)
 in the form of a library suitable primarily for POSIX compliant operating
 systems."

subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libusb-compat
Add_dependency build doxygen
Add_dependency build libusb-compat-devel

post_install()
{
	install -D -m644 ${wrksrc}/libmtp.rules \
		${DESTDIR}/lib/udev/rules.d/52-libmtp.rules
}
