wok-current diff 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 diff
     1.1 --- a/libmtp/receipt	Tue Jun 11 13:26:19 2013 +0200
     1.2 +++ b/libmtp/receipt	Wed Aug 13 17:45:35 2014 +0000
     1.3 @@ -1,33 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libmtp"
     1.7 -VERSION="1.1.5"
     1.8 +VERSION="1.1.6"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)"
    1.11  MAINTAINER="keupont@no-log.org"
    1.12  LICENSE="LGPL2.1"
    1.13 +WEB_SITE="http://libmtp.sourceforge.net/"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WEB_SITE="http://libmtp.sourceforge.net/"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17  
    1.18 -DEPENDS="libusb-compat libgcrypt"
    1.19 -BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev libgcrypt-dev"
    1.20 +DEPENDS="libgcrypt libgpg-error libusb udev"
    1.21 +BUILD_DEPENDS="libusb-dev libgcrypt-dev"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	cd $src
    1.27 -	./configure $CONFIGURE_ARGS \
    1.28 -		&& make && make install
    1.29 +	./configure $CONFIGURE_ARGS &&
    1.30 +	make && make install
    1.31 +	cd $install; patch -p0 < $stuff/libmtp_1.1.6.patch
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	mkdir -p $fs/usr/lib $fs/etc $fs/lib
    1.38 -	
    1.39 +	mkdir -p $fs/usr/lib $fs/etc/udev
    1.40 +
    1.41  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.42 -	#cp -a $install/lib/mtp*  $fs/lib
    1.43 -	cp -a $install/lib/udev  $fs/etc
    1.44 +	cp -a $install/lib/udev/rules.d $fs/etc/udev
    1.45  }
    1.46