wok-next diff libmtp/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
parents | e5a5af728c96 |
children | e7a485521d6a |
line diff
1.1 --- a/libmtp/receipt Fri Jul 28 02:00:12 2017 +0300 1.2 +++ b/libmtp/receipt Fri May 11 14:21:30 2018 +0300 1.3 @@ -14,24 +14,22 @@ 1.4 BUILD_DEPENDS="libusb-dev libgcrypt-dev" 1.5 SPLIT="mtp-tools libmtp-dev" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 +compile_rules() { 1.11 ./configure \ 1.12 --with-udev=/etc/udev \ 1.13 $CONFIGURE_ARGS && 1.14 - make && make install && 1.15 + fix libtool && 1.16 + make && 1.17 + make install || return 1 1.18 1.19 # udev rules in /etc/udev/rules.d/; udev execs in /lib/udev/ 1.20 - mkdir -p $install/lib/udev && 1.21 - mv $install/etc/udev/mtp-probe $install/lib/udev && 1.22 + mkdir -p $install/lib/udev 1.23 + mv $install/etc/udev/mtp-probe $install/lib/udev 1.24 sed -i 's#/etc/udev/mtp-probe#/lib/udev/mtp-probe#' \ 1.25 $install/etc/udev/rules.d/69-libmtp.rules 1.26 } 1.27 1.28 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 -genpkg_rules() 1.30 -{ 1.31 +genpkg_rules() { 1.32 case $PACKAGE in 1.33 libmtp) 1.34 copy udev/ *.so*