wok 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 fda9f1450ac6
children aacf54d09b99
files libmtp-dev/receipt libmtp/receipt mtp-tools/receipt
line diff
     1.1 --- a/libmtp-dev/receipt	Wed Aug 13 17:35:06 2014 +0000
     1.2 +++ b/libmtp-dev/receipt	Wed Aug 13 17:45:35 2014 +0000
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libmtp-dev"
     1.7 -VERSION="1.1.5"
     1.8 +VERSION="1.1.6"
     1.9  CATEGORY="development"
    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  WANTED="libmtp"
    1.15 -WEB_SITE="http://libmtp.sourceforge.net/"
    1.16  
    1.17 -DEPENDS="libmtp libusb libusb-dev pkg-config"
    1.18 +DEPENDS="libmtp libusb-dev pkg-config"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22 @@ -18,5 +18,4 @@
    1.23  	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.24  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.25  	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/bin $fs/usr
    1.27  }
     2.1 --- a/libmtp/receipt	Wed Aug 13 17:35:06 2014 +0000
     2.2 +++ b/libmtp/receipt	Wed Aug 13 17:45:35 2014 +0000
     2.3 @@ -1,33 +1,32 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libmtp"
     2.7 -VERSION="1.1.5"
     2.8 +VERSION="1.1.6"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)"
    2.11  MAINTAINER="keupont@no-log.org"
    2.12  LICENSE="LGPL2.1"
    2.13 +WEB_SITE="http://libmtp.sourceforge.net/"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 -WEB_SITE="http://libmtp.sourceforge.net/"
    2.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.17  
    2.18 -DEPENDS="libusb-compat libgcrypt"
    2.19 -BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev libgcrypt-dev"
    2.20 +DEPENDS="libgcrypt libgpg-error libusb udev"
    2.21 +BUILD_DEPENDS="libusb-dev libgcrypt-dev"
    2.22  
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25  {
    2.26 -	cd $src
    2.27 -	./configure $CONFIGURE_ARGS \
    2.28 -		&& make && make install
    2.29 +	./configure $CONFIGURE_ARGS &&
    2.30 +	make && make install
    2.31 +	cd $install; patch -p0 < $stuff/libmtp_1.1.6.patch
    2.32  }
    2.33  
    2.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.35  genpkg_rules()
    2.36  {
    2.37 -	mkdir -p $fs/usr/lib $fs/etc $fs/lib
    2.38 -	
    2.39 +	mkdir -p $fs/usr/lib $fs/etc/udev
    2.40 +
    2.41  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.42 -	#cp -a $install/lib/mtp*  $fs/lib
    2.43 -	cp -a $install/lib/udev  $fs/etc
    2.44 +	cp -a $install/lib/udev/rules.d $fs/etc/udev
    2.45  }
    2.46  
     3.1 --- a/mtp-tools/receipt	Wed Aug 13 17:35:06 2014 +0000
     3.2 +++ b/mtp-tools/receipt	Wed Aug 13 17:45:35 2014 +0000
     3.3 @@ -1,22 +1,20 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="mtp-tools"
     3.7 -VERSION="1.1.5"
     3.8 +VERSION="1.1.6"
     3.9  CATEGORY="system-tools"
    3.10 -SHORT_DESC="Media Transfer Protocol (MTP) tuilities"
    3.11 +SHORT_DESC="Media Transfer Protocol (MTP) utilities"
    3.12  MAINTAINER="erjo@slitaz.org"
    3.13  LICENSE="LGPL2.1"
    3.14 -SOURCE="libmtp"
    3.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
    3.16  WEB_SITE="http://libmtp.sourceforge.net/"
    3.17  WANTED="libmtp"
    3.18  
    3.19  DEPENDS="libmtp"
    3.20 -BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev libgcrypt-dev"
    3.21  
    3.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.23  genpkg_rules()
    3.24  {
    3.25 -	mkdir -p $fs/usr/bin
    3.26 +	mkdir -p $fs/lib/udev $fs/usr/bin
    3.27 +	cp -a $install/lib/udev/mtp-probe $fs/lib/udev
    3.28  	cp -a $install/usr/bin $fs/usr
    3.29  }