wok-6.x annotate libmtp/receipt @ rev 17021
libmtp, mtp-tools: up 1.1.6
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Aug 13 17:45:35 2014 +0000 (2014-08-13) |
parents | e9a384038707 |
children | fadc64b65b26 |
rev | line source |
---|---|
keupont@2883 | 1 # SliTaz package receipt. |
keupont@2883 | 2 |
keupont@2883 | 3 PACKAGE="libmtp" |
al@17021 | 4 VERSION="1.1.6" |
keupont@2883 | 5 CATEGORY="system-tools" |
keupont@2883 | 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/" |
keupont@2883 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
keupont@2883 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
keupont@2883 | 12 |
al@17021 | 13 DEPENDS="libgcrypt libgpg-error libusb udev" |
al@17021 | 14 BUILD_DEPENDS="libusb-dev libgcrypt-dev" |
pascal@14714 | 15 |
keupont@2883 | 16 # Rules to configure and make the package. |
keupont@2883 | 17 compile_rules() |
keupont@2883 | 18 { |
al@17021 | 19 ./configure $CONFIGURE_ARGS && |
al@17021 | 20 make && make install |
al@17021 | 21 cd $install; patch -p0 < $stuff/libmtp_1.1.6.patch |
keupont@2883 | 22 } |
keupont@2883 | 23 |
keupont@2883 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
keupont@2883 | 25 genpkg_rules() |
keupont@2883 | 26 { |
al@17021 | 27 mkdir -p $fs/usr/lib $fs/etc/udev |
al@17021 | 28 |
erjo@13458 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@17021 | 30 cp -a $install/lib/udev/rules.d $fs/etc/udev |
keupont@2883 | 31 } |
keupont@2883 | 32 |