2007-11-13 13:55:55 +01:00
|
|
|
# Description: An implementation of Microsoft's Media Transfer Protocol (MTP)
|
|
|
|
# URL: http://libmtp.sourceforge.net/
|
2008-03-18 12:28:03 +01:00
|
|
|
# Maintainer: unmaintained
|
2007-11-13 13:55:55 +01:00
|
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
|
|
|
#
|
|
|
|
# Depends on: libusb
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
name=libmtp
|
2007-11-13 13:55:55 +01:00
|
|
|
version=0.0.21
|
|
|
|
release=2
|
|
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
|
2006-11-14 00:01:22 +01:00
|
|
|
|
|
|
|
build() {
|
2007-11-13 13:55:55 +01:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
mkdir -p $PKG/etc/udev/rules.d
|
|
|
|
install -m 755 libmtp.rules $PKG/etc/udev/rules.d/
|
|
|
|
chown -R root:root $PKG
|
2006-11-14 00:01:22 +01:00
|
|
|
}
|