2010-05-09 18:57:08 +02:00
|
|
|
# Template file for 'libmtp'
|
|
|
|
pkgname=libmtp
|
2012-09-23 20:54:59 +02:00
|
|
|
version=1.1.5
|
2013-04-13 10:15:49 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-08-23 07:32:23 +02:00
|
|
|
configure_args="--disable-static --with-udev=/usr/lib/udev"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libusb-devel libgcrypt-devel"
|
2010-05-09 18:57:08 +02:00
|
|
|
short_desc="Library for Microsoft's Media Transfer Protocol (MTP)"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-08-23 07:32:23 +02:00
|
|
|
homepage="http://libmtp.sourceforge.net"
|
|
|
|
license="LGPL-2.1"
|
2012-07-09 18:15:29 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
2012-09-23 20:54:59 +02:00
|
|
|
checksum=787679171baf8b3cf2fcc03196c705ab4d7cbc969bd71f9d3696be1ce7f1c63a
|
2010-05-09 18:57:08 +02:00
|
|
|
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."
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libmtp-devel_package() {
|
|
|
|
depends="libusb-devel libmtp>=${version}"
|
|
|
|
short_desc+=" -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libmtp_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|