wok-current view libmtp/receipt @ rev 22911

filezilla: added build dependency libunistring-dev
author Hans-G?nter Theisgen
date Mon Feb 24 09:59:25 2020 +0100 (2020-02-24)
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 }