wok-next view libmtp/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libmtp"
4 VERSION="1.1.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="Access to MTP devices: mp3 players, Android phones"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://libmtp.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TARBALL_SHA1="2e1c217f4216c3b43e9368f81eb6a234e4b1422f"
15 BUILD_DEPENDS="libusb-dev libgcrypt-dev"
16 SPLIT="mtp-tools $PACKAGE $PACKAGE-dev"
18 COPY_mtp_tools="bin/"
20 DEPENDS_mtp_tools="$PACKAGE"
21 DEPENDS_std="libgcrypt libusb eudev" # libgpg-error
22 DEPENDS_dev="mtp-tools $PACKAGE libgcrypt-dev libusb-dev eudev-dev" # libgpg-error-dev
24 CAT_std="system-tools|library"
25 CAT_tools="system-tools|utilities"
27 compile_rules() {
28 ./configure \
29 --with-udev=/etc/udev \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 fix libtool &&
33 make &&
34 make install || return 1
36 # udev rules in /etc/udev/rules.d/; udev execs in /lib/udev/
37 mkdir -p $install/lib/udev
38 mv $install/etc/udev/mtp-probe $install/lib/udev
39 sed -i 's#/etc/udev/mtp-probe#/lib/udev/mtp-probe#' \
40 $install/etc/udev/rules.d/69-libmtp.rules
41 }