wok-6.x view libmtp/receipt @ rev 21972

linux: package uas driver
author Richard Dunbar <mojo@slitaz.org>
date Fri Oct 11 08:52:23 2019 -0400 (2019-10-11)
parents fadc64b65b26
children 849f794ecc3b
line source
1 # SliTaz package receipt.
3 PACKAGE="libmtp"
4 VERSION="1.1.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)."
7 MAINTAINER="keupont@no-log.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"
14 DEPENDS="libusb udev"
15 BUILD_DEPENDS="libusb-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --disable-mtpz $CONFIGURE_ARGS &&
21 make -j 1 &&
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 mkdir -p $fs/etc/udev
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/lib/udev/rules.d $fs/etc/udev
33 }