wok-6.x view libmtp/receipt @ rev 17021
libmtp, mtp-tools: up 1.1.6
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 13 17:45:35 2014 +0000 (2014-08-13) |
parents | e9a384038707 |
children | fadc64b65b26 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libmtp"
4 VERSION="1.1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)"
7 MAINTAINER="keupont@no-log.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://libmtp.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libgcrypt libgpg-error libusb udev"
14 BUILD_DEPENDS="libusb-dev libgcrypt-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS &&
20 make && make install
21 cd $install; patch -p0 < $stuff/libmtp_1.1.6.patch
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/etc/udev
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 cp -a $install/lib/udev/rules.d $fs/etc/udev
31 }