wok-6.x view libmtp/receipt @ rev 14446

econnman: fix deps
author Dominique Corbex <domcox@slitaz.org>
date Fri Apr 26 22:38:38 2013 +0200 (2013-04-26)
parents 665e90a49494
children 4904e3d374a9
line source
1 # SliTaz package receipt.
3 PACKAGE="libmtp"
4 VERSION="1.1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="LGPL library implementation of the Media Transfer Protocol (MTP)"
7 MAINTAINER="keupont@no-log.org"
8 DEPENDS="libusb-compat libgcrypt"
9 BUILD_DEPENDS="libusb-compat libusb-compat-dev libusb-dev libgcrypt-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://libmtp.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure $CONFIGURE_ARGS \
19 && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/etc $fs/lib
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 cp -a $install/lib/mtp* $fs/lib
29 cp -a $install/lib/udev $fs/etc
30 }