summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/libmtp/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/libmtp/Pkgfile b/extra/libmtp/Pkgfile
new file mode 100644
index 000000000..d3acd1a3a
--- /dev/null
+++ b/extra/libmtp/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Librairie implementant le Media Transfer Protocol
+# URL: http://libmtp.sourceforge.net
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: libusb
+
+name=libmtp
+version=0.3.7
+release=1
+source=(http://switch.dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz\
+ )
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+ install -D -m0644 libmtp.rules \
+ $PKG/lib/udev/rules.d/52-libmtp.rules
+ install -D -m0644 libmtp.fdi \
+ $PKG/usr/share/hal/fdi/information/20thirdparty/libmtp.fdi
+
+}