forked from ports/contrib
22 lines
571 B
Plaintext
22 lines
571 B
Plaintext
# Description: An implementation of Microsoft's Media Transfer Protocol (MTP)
|
|
# URL: http://libmtp.sourceforge.net/
|
|
# Maintainer: unmaintained
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
|
#
|
|
# Depends on: libusb
|
|
|
|
name=libmtp
|
|
version=0.0.21
|
|
release=2
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
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
|
|
}
|