wok-6.x annotate libmtp/receipt @ rev 22807
updated get-bitcoin (1.00 -> 1.01)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 29 07:32:34 2020 +0100 (2020-01-29) |
parents | fadc64b65b26 |
children | 849f794ecc3b |
rev | line source |
---|---|
keupont@2883 | 1 # SliTaz package receipt. |
keupont@2883 | 2 |
keupont@2883 | 3 PACKAGE="libmtp" |
Hans-G?nter@21261 | 4 VERSION="1.1.16" |
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 { |
al@17025 | 20 ./configure --disable-mtpz $CONFIGURE_ARGS && |
Hans-G?nter@21261 | 21 make -j 1 && |
Hans-G?nter@21261 | 22 make install |
keupont@2883 | 23 } |
keupont@2883 | 24 |
keupont@2883 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
keupont@2883 | 26 genpkg_rules() |
keupont@2883 | 27 { |
Hans-G?nter@21261 | 28 mkdir -p $fs/usr/lib |
Hans-G?nter@21261 | 29 mkdir -p $fs/etc/udev |
al@17021 | 30 |
Hans-G?nter@21261 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21261 | 32 cp -a $install/usr/lib/udev/rules.d $fs/etc/udev |
keupont@2883 | 33 } |