summaryrefslogtreecommitdiffstats
path: root/extra/libmtp/Pkgfile
blob: fe8eadaeaac1eba87e6c7f12e4c17ad315fd60a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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
# Run on: libusb

name=libmtp
version=1.0.3
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
	rm -rf $PKG/usr/share/doc
}