wok view libmtp/receipt @ rev 24119

Add javascript-boulderdash
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 04 18:07:23 2021 +0000 (2021-10-04)
parents 92aedd4490b5
children 65d7d867e0c1
line source
1 # SliTaz package receipt.
3 PACKAGE="libmtp"
4 VERSION="1.1.17"
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 \
21 --disable-mtpz \
22 $CONFIGURE_ARGS &&
23 make -j 1 &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 mkdir -p $fs/etc/udev
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/lib/udev/rules.d $fs/etc/udev
35 }