summaryrefslogtreecommitdiffstats
path: root/extra/libmtp/Pkgfile
blob: 4c7da37cdf5041f6922c40b1a5236eab2f49433d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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=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
}