wok annotate libmtp/receipt @ rev 23452

updated ptxdist (2019.06.0 -> 2020.03.0)
author Hans-G?nter Theisgen
date Fri Apr 03 10:44:44 2020 +0100 (2020-04-03)
parents 92aedd4490b5
children 65d7d867e0c1
rev   line source
keupont@2883 1 # SliTaz package receipt.
keupont@2883 2
keupont@2883 3 PACKAGE="libmtp"
Hans-G?nter@23089 4 VERSION="1.1.17"
keupont@2883 5 CATEGORY="system-tools"
Hans-G?nter@21261 6 SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)."
keupont@2883 7 MAINTAINER="keupont@no-log.org"
pascal@14714 8 LICENSE="LGPL2.1"
al@17021 9 WEB_SITE="http://libmtp.sourceforge.net/"
Hans-G?nter@21261 10
keupont@2883 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
keupont@2883 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
keupont@2883 13
al@17025 14 DEPENDS="libusb udev"
al@17025 15 BUILD_DEPENDS="libusb-dev"
pascal@14714 16
keupont@2883 17 # Rules to configure and make the package.
keupont@2883 18 compile_rules()
keupont@2883 19 {
Hans-G?nter@23089 20 ./configure \
Hans-G?nter@23089 21 --disable-mtpz \
Hans-G?nter@23089 22 $CONFIGURE_ARGS &&
Hans-G?nter@21261 23 make -j 1 &&
Hans-G?nter@21261 24 make install
keupont@2883 25 }
keupont@2883 26
keupont@2883 27 # Rules to gen a SliTaz package suitable for Tazpkg.
keupont@2883 28 genpkg_rules()
keupont@2883 29 {
Hans-G?nter@21261 30 mkdir -p $fs/usr/lib
Hans-G?nter@21261 31 mkdir -p $fs/etc/udev
al@17021 32
Hans-G?nter@21261 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21261 34 cp -a $install/usr/lib/udev/rules.d $fs/etc/udev
keupont@2883 35 }