summaryrefslogtreecommitdiffstats
path: root/extra/libmtp/Pkgfile
blob: 0c163f72cadffdc32f66a6371057d00b956279d6 (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.2
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
}