wok-next diff libmtp/receipt @ rev 19957

Up fuse-emulator, gpgme, libnetfilter_conntrack, libnetfilter_cthelper, libnetfilter_cttimeout, libnetfilter_queue, libnfnetlink, libsdl, libspectrum, libstatgrab, libstroke, subversion, sysfsutils, taglib, tcl, tcpcrypt, tidy, tk, tokyocabinet, udisks2. Add fuse-emulator-gtk3, libblockdev, libbytesize, libstroke, volume_key.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 16 22:34:14 2017 +0300 (2017-10-16)
parents f463de72afe3
children 25deb7c6df08
line diff
     1.1 --- a/libmtp/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/libmtp/receipt	Mon Oct 16 22:34:14 2017 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libmtp"
     1.8  VERSION="1.1.13"
     1.9 @@ -11,8 +11,8 @@
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 -DEPENDS="eudev libgcrypt libgpg-error libusb"
    1.14  BUILD_DEPENDS="libusb-dev libgcrypt-dev"
    1.15 +SPLIT="mtp-tools libmtp-dev"
    1.16  
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19 @@ -32,5 +32,20 @@
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	copy udev/ *.so*
    1.24 +	case $PACKAGE in
    1.25 +		libmtp)
    1.26 +			copy udev/ *.so*
    1.27 +			DEPENDS="eudev libgcrypt libgpg-error libusb"
    1.28 +			CAT="system-tools|library"
    1.29 +			;;
    1.30 +		*-tools)
    1.31 +			copy bin/
    1.32 +			CAT="system-tools|utilities"
    1.33 +			;;
    1.34 +		*-dev)
    1.35 +			copy @dev
    1.36 +			DEPENDS="libmtp mtp-tools \
    1.37 +			eudev-dev libgcrypt-dev libgpg-error-dev libusb-dev"
    1.38 +			;;
    1.39 +	esac
    1.40  }